struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
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.
Antonio Petrelli

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message