If you are using Struts2, I believe you can take advantage of the
ParametersInterceptor for that. With that interceptor in place, you can
access your parameters in the action by simply implementing getters and
setters on the action.

Read about it here  http://www.infoq.com/articles/migrating-struts-2-part2
http://www.infoq.com/articles/migrating-struts-2-part2 

or search the forums/google.


Anna Simbirtsev wrote:
> 
> Hello
> I have a link  <html:link page="/myAction.do" paramId="map"
> paramName="map">Name</html:link> and when a user clicks on it, it calls
> action myAction and passes parameters using HashMap. Those parameters are
> visible in the URL. Is there any way to pass parameters to the action
> other
> than through URL?
> 
> Thank you
> 
> 

-- 
View this message in context: 
http://www.nabble.com/pass-parameters-to-action-tf4402086.html#a12558801
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to