com.opensymphony.webwork.pico
Class PicoWebWork2ServletDispatcher
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.opensymphony.webwork.dispatcher.ServletDispatcher
com.opensymphony.webwork.pico.PicoWebWork2ServletDispatcher
- All Implemented Interfaces:
- WebWorkStatics, Serializable, Servlet, ServletConfig
- Direct Known Subclasses:
- PicoServletDispatcher
Deprecated. Use PicoFilterDispatcher
public class PicoWebWork2ServletDispatcher
- extends ServletDispatcher
Extension to the standard WebWork2 ServletDispatcher that instantiates
a new container in the request scope for each request and disposes of it
correctly at the end of the request.
To use, replace the WebWork ServletDispatcher in web.xml with this.
- Author:
- Joe Walnes
- See Also:
- Serialized Form
Method Summary |
void |
service(HttpServletRequest request,
HttpServletResponse response)
Deprecated. Services the request by determining the desired action to load, building the action context and
then executing the action. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PicoWebWork2ServletDispatcher
public PicoWebWork2ServletDispatcher()
- Deprecated.
service
public void service(HttpServletRequest request,
HttpServletResponse response)
throws ServletException
- Deprecated.
- Description copied from class:
ServletDispatcher
- Services the request by determining the desired action to load, building the action context and
then executing the action. This handles all servlet requests including GETs and POSTs.
This method also transparently handles multipart requests.
- Overrides:
service
in class ServletDispatcher
- Parameters:
request
- the HttpServletRequest object.response
- the HttpServletResponse object.
- Throws:
ServletException
- if an error occurs while loading or executing the action.