struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <brenmcgu...@tariffenet.it>
Subject Re: Set request parameters in servlet through action
Date Tue, 04 Jan 2005 12:31:35 GMT

> how can I add a request parameter inside an action execute method? Do
> I have to use an ActionForm or it is an easiest way to do it?
>

You cannot set a new parameter once a http request has been submitted, but
you can get parameters directly via the object "request", passed in the
"execute" method. Simply use the "getParameter*" methods.
Ciao
Antonio Petrelli


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message