corpus-services
1.0
|
Public Member Functions | |
void | init () throws ServletException |
void | destroy () |
Protected Member Functions | |
void | doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException |
void | doPost (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException |
A Servlet that validates a coma file.
Definition at line 40 of file HzskValidationServlet.java.
void de.uni_hamburg.corpora.HzskValidationServlet.destroy | ( | ) |
Destroy the servlet.
Definition at line 58 of file HzskValidationServlet.java.
|
protected |
Handles GET requests by showing an upload form. The file to validate is uploaded in POST requests.
Definition at line 68 of file HzskValidationServlet.java.
|
protected |
Handles post request by validating the uploaded file. If no coma file can be found, shows very basic error plain text errors.
Definition at line 129 of file HzskValidationServlet.java.
void de.uni_hamburg.corpora.HzskValidationServlet.init | ( | ) | throws ServletException |
Initiate servlet context.
Definition at line 47 of file HzskValidationServlet.java.