org.apache.struts2.dispatcher.ng.servlet
Class StrutsServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.struts2.dispatcher.ng.servlet.StrutsServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class StrutsServlet
- extends HttpServlet
Servlet dispatcher for Struts. The preferred way to use Struts is as a filter via the
StrutsPrepareAndExecuteFilter
and its variants. This servlet dispatcher
is only for those that really know what they are doing as it may not support every feature of Struts, particularly
static resource serving.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prepare
private PrepareOperations prepare
execute
private ExecuteOperations execute
StrutsServlet
public StrutsServlet()
init
public void init(ServletConfig filterConfig)
throws ServletException
- Specified by:
init
in interface Servlet
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
service
public void service(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
- Overrides:
service
in class HttpServlet
- Throws:
IOException
ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface Servlet
- Overrides:
destroy
in class GenericServlet
Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.