se.kmr.scam.client.http
Class MainController
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
se.kmr.scam.client.http.MainController
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
- Direct Known Subclasses:
- UploadController
- public class MainController
- extends HttpServlet
Main entry point for HTTP-requests. Execute command-chains and redirect to
JSP when applicable.
- Version:
- $Revision: 1.29 $
- Author:
- Jöran Stark, jand
- See Also:
- Serialized Form
- Created:
- den 5 juni 2002
- To do:
- Fix error handling, Place XML-files outside jar-package (dynamically loaded)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MainController
public MainController()
init
public void init()
throws ServletException
- Configures and initialize the controller.
- Throws:
ServletException
- Description of the Exception
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Handles GET-requests from clients.
- Parameters:
request
- holds information from clientresponse
- holds response information sent back to client
- Throws:
ServletException
- thrown in case internal exception.
IOException
- thrown in case of exception in internal IO.
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Handles POST-requests from clients.
- Parameters:
request
- holds information from clientresponse
- holds response information sent back to client
- Throws:
ServletException
- thrown in case internal exception.
IOException
- thrown in case of exception in internal IO.
Copyright © 2003 SCAM. All Rights Reserved.