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:[EMAIL PROTECTED]
Sent: Tuesday, 13 April 2004 22:29
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to