org.apache.geronimo.console.servlet
Class ContextForwardServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.geronimo.console.servlet.ContextForwardServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class ContextForwardServlet
- extends javax.servlet.http.HttpServlet
Servlet that forwards GET and POST requests to a servlet
in an alternate context. The servlet path and alternate
context are passed in as configuration parameters (e.g.
via elements in the web.xml).
- See Also:
- Serialized Form
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
void |
init(javax.servlet.ServletConfig config)
|
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, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTEXT_PATH
public static final String CONTEXT_PATH
- See Also:
- Constant Field Values
SERVLET_PATH
public static final String SERVLET_PATH
- See Also:
- Constant Field Values
ContextForwardServlet
public ContextForwardServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
doGet
public void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
- Throws:
javax.servlet.ServletException
IOException
doPost
public void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
- Throws:
javax.servlet.ServletException
IOException
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.