Variable 'struts'

Access to Struts and Servlet resources

Function Summary
Map getParam()
Gets a map of request parameters as Strings
Map getParamValues()
Gets a map of request parameters as String arrays
Map getRequestScope()
Gets a map of request attributes
Map getSessionScope()
Gets a map of session attributes
Map getApplicationScope()
Gets a map of application attributes
ServletRequest getRequest()
Gets the servlet request
ServletContext getServletContext()
Gets the servlet context
String getMessage(java.lang.String key)
Gets an application resources message
ActionMapping getMapping()
Gets the action mapping
boolean isCanceled()
Gets if the action has been canceled
boolean isTokenValid()
Gets if the current token is valid
void resetToken()
Resets the current transation token
void saveErrors(org.apache.struts.action.ActionErrors errors)
Saves the action errors in the request
void saveMessages(org.apache.struts.action.ActionMessages msgs)
Saves the action messages in the request
void saveToken()
Saves a transaction token in the request

Functions

getParam

Map getParam()

Gets a map of request parameters as Strings

getParamValues

Map getParamValues()

Gets a map of request parameters as String arrays

getRequestScope

Map getRequestScope()

Gets a map of request attributes

getSessionScope

Map getSessionScope()

Gets a map of session attributes

getApplicationScope

Map getApplicationScope()

Gets a map of application attributes

getRequest

ServletRequest getRequest()

Gets the servlet request

getServletContext

ServletContext getServletContext()

Gets the servlet context

getMessage

String getMessage(java.lang.String key)

Gets an application resources message

Parameters:
key - The message key

getMapping

ActionMapping getMapping()

Gets the action mapping

isCanceled

boolean isCanceled()

Gets if the action has been canceled

isTokenValid

boolean isTokenValid()

Gets if the current token is valid

resetToken

void resetToken()

Resets the current transation token

saveErrors

void saveErrors(org.apache.struts.action.ActionErrors errors)

Saves the action errors in the request

Parameters:
errors - The action errors

saveMessages

void saveMessages(org.apache.struts.action.ActionMessages msgs)

Saves the action messages in the request

Parameters:
msgs - The action messages

saveToken

void saveToken()

Saves a transaction token in the request