What are the default variables in the value stack

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Defining Java Constant

Variables

Description

ActionContext.PARAMETERS

com.opensymphony.xworkxwork2.ActionContext.parameters

Same as 'parameters' above

ActionContext.SESSION

com.opensymphony.xworkxwork2.ActionContext.session

Same as 'session' above

ActionContext.APPLICATION

com.opensymphony.xworkxwork2.ActionContext.application

Same as 'application' above

ActionContext.LOCALE

com.opensymphony.xworkxwork2.ActionContext.locale

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

ActionContext.DEV_MODE

__devMode

true or false if in development mode or otherwise whereby resource bundle webwork.properties, xwork.xml, converters, validators will be refreshed when changes

ActionContext. StrutsStatics.HTTP_REQUEST

com.opensymphony.xworkxwork2.dispatcher.HttpServletRequest

Same as 'request' above

ActionContext StrutsStatics.HTTP_RESPONSE

com.opensymphony.xworkxwork2.dispatcher.HttpServletResponse

Same as 'response' above

ActionContext StrutsStatics.SERVLET_CONTEXT

com.opensymphony.xworkxwork2.dispatcher.ServletContext

Servlet's spec's ServletContext object

ActionContext.COMPONENT_MANAGER

com.opensymphony.xwork.interceptor.component.ComponentManager

Webwork's IOC component manager

For further information
@see com.opensymphony.webwork.dispatcher.DispatcherUtils#createContextMap
@see com.opensymphony.xwork.interceptor.component.ComponentInterceptor
@see com.opensymphony.webwork.WebWorkStatics