struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Hill" <andrew.david.h...@gridnode.com>
Subject RE: Using GET method to submit form in Struts
Date Tue, 13 Apr 2004 14:46:30 GMT
request parameters whether submitted as part of a get url or in a post (or
even as part of the url to which a form is posted!) can all be read the same
way - via the servlet apis request.getparameter() - and thus will also be
populated into the action form automatically by struts, so you can
transparently switch from a post to a get without needing to change that
code in your action. :-)

-----Original Message-----
From: Shyamal Shah [mailto:shyamal_shah@hotmail.com]
Sent: Tuesday, 13 April 2004 22:29
To: user@struts.apache.org
Subject: Using GET method to submit form in Struts


Can I submit form using GET method? I want to do following:

http://mywebsite.com/actionmapping.do?serviceid=M12221


My question is, if I set action type as GET and then submit it, how will my
action class read the serviceid value?

Thanks

_________________________________________________________________
Watch LIVE baseball games on your computer with MLB.TV, included with MSN
Premium!
http://join.msn.com/?page=features/mlb&pgmarket=en-us/go/onm00200439ave/dire
ct/01/


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



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


Mime
View raw message