Dashboard > WebWork > ... > FAQ > How can I see all request parameters passed into the action
  WebWork Log In View a printable version of the current page.  
  How can I see all request parameters passed into the action
Added by Onyeje Bose, last edited by Brent Worden on Feb 10, 2006  (view change)
Labels: 
(None)

Method A:
ActionContext.getContext().getParameters() (returns Map, works internally using a ThreadLocal)

Method B:
Have the action implements ParameterAware interface and the parameters will be set through the setParameters(Map) method. This requires that the 'servlet-config' interceptor being added to that particular action.

@see webwork-default.xml
@see com.opensymphony.webwork.interceptor.ParameterAware
@see com.opensymphony.webwork.interceptor.Servlet Config Interceptor

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request - Contact Administrators