You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Robert Tyler Retzlaff <rr...@cs.rmit.edu.au> on 2002/01/20 17:34:44 UTC

query string parameters?

Does struts have any nice way of handling parameters received via
the query string?  Perhaps something similar to the ActionForm object
that I can forward back to the source page if a validate() method
fails?

Thanks

rob

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: query string parameters?

Posted by Sean Owen <sr...@yahoo.com>.
Request parameters in a query string are treated like inputs in 
a form post. So you can invoke a struts Action with an HTTP GET 
request and query parameters; it's no different than the usual 
POST stuff. You can validate the input, etc., as if it had come 
from a form.

Sean

On Sunday, January 20, 2002, at 11:34  AM, Robert Tyler Retzlaff wrote:

> Does struts have any nice way of handling parameters received via
> the query string?  Perhaps something similar to the ActionForm object
> that I can forward back to the source page if a validate() method
> fails?
>
> Thanks
>
> rob
>
> --
> To unsubscribe, e-mail:   <mailto:struts-user-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-
> help@jakarta.apache.org>
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>