at.knowcenter.wag.egov.egiz.web
Class Verify
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
at.knowcenter.wag.egov.egiz.web.Verify
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class Verify
- extends HttpServlet
This method is the verify servlet for the pdf-as web application. It takes
get and post requests fill out jsp templates and give the user feedback about
the results of the verify process.
- Author:
- wlackner, wprinz
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Verify
public Verify()
dispatch
protected void dispatch(HttpServletRequest request,
HttpServletResponse response,
String resource)
throws ServletException,
IOException
- Throws:
ServletException
IOException
dispatchToResults
protected void dispatchToResults(List results,
HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Throws:
ServletException
IOException
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
doGet
in class HttpServlet
- Throws:
ServletException
IOException
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
doPost
in class HttpServlet
- Throws:
ServletException
IOException
extractExtension
public static String extractExtension(String file_name)
- Extracts the extension from a file name string.
The extension of a file name is whatever text follows the last '.'.
- Parameters:
file_name
- The file name.
- Returns:
- Returns the extension. If the file name ends with the '.', then an
empty string is returned. If the file name doesn't contain any '.'
or file_name is null, null is returned.
Copyright © 2006-2007 EGIZ - E-Government Innovationszentrum. All Rights Reserved.