Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Field

Description

MockHttpServletRequest request

the requestthat The request that will be passed to Struts. Make sure to set parameters in this object before calling methods like getActionProxy

MockHttpServletResponse response

the The response object passed to Struts, you can use this class to test the output, response headers, etc

MockServletContext servletContext

the The servlet context object passed to Struts

...