Home » geronimo-2.2-source-release » org.apache.geronimo.console.servlet » [javadoc | source]
public class: GenericForwardServlet [javadoc | source]

All Implemented Interfaces:
    Serializable, Servlet, ServletConfig

Servlet that forwards GET and POST requests to a servlet in an alternate context. The servlet path and alternate context are defined in GBeans of type ContextForward, and this one servlet handles the forwarding for all those different paths. NOTE: This does not work for DWR, because it changes the request path info while forwarding, and DWR requires the exact initial request info in order to construct URLs in the data that it returns. It should work to forward to most typical servlets, JSPs, and static content.
Fields inherited from javax.servlet.http.HttpServlet:
Method from org.apache.geronimo.console.servlet.GenericForwardServlet Summary:
destroy,   doGet,   doPost,   init
Methods from javax.servlet.http.HttpServlet:
class$,   doDelete,   doGet,   doHead,   doOptions,   doPost,   doPut,   doTrace,   getLastModified,   service,   service
Methods from javax.servlet.GenericServlet:
destroy,   getInitParameter,   getInitParameterNames,   getServletConfig,   getServletContext,   getServletInfo,   getServletName,   init,   init,   log,   log,   service
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.console.servlet.GenericForwardServlet Detail:
 public  void destroy() 
 public  void doGet(HttpServletRequest req,
    HttpServletResponse resp) throws ServletException, IOException 
 public  void doPost(HttpServletRequest req,
    HttpServletResponse resp) throws ServletException, IOException 
 public  void init(ServletConfig config) throws ServletException