|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.geronimo.console.servlet.ContextForwardServlet
public class ContextForwardServlet
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
Field Summary
static StringCONTEXT_PATH
static StringSERVLET_PATH
Constructor Summary
ContextForwardServlet()
Method Summary
voiddoGet(HttpServletRequest req,
HttpServletResponse resp)
voiddoPost(HttpServletRequest req,
HttpServletResponse resp)
voidinit(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
Field Detail
CONTEXT_PATH
public static final String CONTEXT_PATH
SERVLET_PATH
public static final String SERVLET_PATH
Constructor Detail
ContextForwardServlet
public ContextForwardServlet()
Method Detail
init
public void init(ServletConfig config)
throws ServletException
init in interface Servletinit in class GenericServlet
ServletException
doGet
public void doGet(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
doGet in class HttpServlet
ServletException
IOException
doPost
public void doPost(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
doPost in class HttpServlet
ServletException
IOException
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.