| com.mockrunner.mock.web.MockActionServlet
MockActionServlet | public class MockActionServlet extends ActionServlet (Code) | | This mock version of the Struts ActionServlet
is necessary, because some Struts methods use it to
get the ServletContext and other things.
|
getServletConfig | public ServletConfig getServletConfig()(Code) | | Returns the ServletConfig .
the ServletConfig |
getServletContext | public ServletContext getServletContext()(Code) | | Returns the ServletContext .
the ServletContext |
setServletConfig | public void setServletConfig(ServletConfig config)(Code) | | Set the ServletConfig .
Parameters: config - the ServletConfig |
setServletContext | public void setServletContext(ServletContext context)(Code) | | Set the ServletContext .
Parameters: context - the ServletContext |
|
|