|
![]() |
|||||||||
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
com.opensymphony.webwork.dispatcher.ServletDispatcher
org.nanocontainer.nanowar.webwork2.PicoWebWork2ServletDispatcher
public class PicoWebWork2ServletDispatcher
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.
Field Summary |
---|
Fields inherited from class com.opensymphony.webwork.dispatcher.ServletDispatcher |
---|
encoding, locale, log |
Fields inherited from interface com.opensymphony.webwork.WebWorkStatics |
---|
HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERLVET_DISPATCHER, SERVLET_CONFIG, SERVLET_DISPATCHER |
Constructor Summary | |
---|---|
PicoWebWork2ServletDispatcher()
|
Method Summary | |
---|---|
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class com.opensymphony.webwork.dispatcher.ServletDispatcher |
---|
createContextMap, getActionName, getActionName, getApplicationMap, getEncoding, getLocale, getMaxSize, getNameSpace, getNamespaceFromServletPath, getParameterMap, getRequestMap, getSaveDir, getSessionMap, init, isParamsWorkaroundEnabled, localeFromString, sendError, serviceAction, wrapRequest |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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 |
Constructor Detail |
---|
public PicoWebWork2ServletDispatcher()
Method Detail |
---|
public void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
service
in class com.opensymphony.webwork.dispatcher.ServletDispatcher
javax.servlet.ServletException
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |