Variables

Description

attr

scans the request, session, and application attributes, in that order

request

request attributes

session

session attributes

application

application attributes

parameters

request params

Defining Java Constant

Variables

Description

ActionContext.PARAMETERS

com.opensymphony.xwork2.ActionContext.parameters

Same as 'parameters' above

ActionContext.SESSION

com.opensymphony.xwork2.ActionContext.session

Same as 'session' above

ActionContext.APPLICATION

com.opensymphony.xwork2.ActionContext.application

Same as 'application' above

ActionContext.LOCALE

com.opensymphony.xwork2.ActionContext.locale

From locale defined in struts.properties else from the request object

StrutsStatics.HTTP_REQUEST

com.opensymphony.xwork2.dispatcher.HttpServletRequest

Same as 'request' above

StrutsStatics.HTTP_RESPONSE

com.opensymphony.xwork2.dispatcher.HttpServletResponse

Same as 'response' above

StrutsStatics.SERVLET_CONTEXT

com.opensymphony.xwork2.dispatcher.ServletContext

Servlet's spec's ServletContext object

  • No labels