net.ontopia.topicmaps.webed.servlets
Class ProcessServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
net.ontopia.topicmaps.webed.servlets.ProcessServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public final class ProcessServlet
- extends javax.servlet.http.HttpServlet
INTERNAL: Central entry point to the web application for processing a HTTP
request and forwarding to the appropriate page depending on the executed
actions.
- See Also:
- Serialized Form
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
INTERNAL: Handles a HTTP GET request. |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
INTERNAL: Handles a HTTP POST request. |
protected void |
processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
INTERNAL: Internal method which is for handling all of the incoming HTTP
requests. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
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 |
ProcessServlet
public ProcessServlet()
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- INTERNAL: Handles a HTTP GET request.
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
doPost
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- INTERNAL: Handles a HTTP POST request.
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
processRequest
protected void processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- INTERNAL: Internal method which is for handling all of the incoming HTTP
requests. The following request parameters have to be available:
- Constants.RP_TOPICMAP_ID: holds the ID of the topicmap working with
- Constants.RP_ACTIONGROUP: containing the name of the current action
group
- Other request parameters may be set and are specific to the current
action group.
Note: See the action configuration file
WEB-INF/config/actions.xml
for more information.
- Throws:
javax.servlet.ServletException
java.io.IOException
Copyright © 2000-2012 Ontopia.