aspose file tools*
The moose likes Struts and the fly likes Passing GET parameters to .do pages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Passing GET parameters to .do pages" Watch "Passing GET parameters to .do pages" New topic
Author

Passing GET parameters to .do pages

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Hi.
I'm trying to play with verious web frameworks in order to choose a framework to live with.
My question about Struts :
1. Can we pass GET parameters to Struts pages, like :
http://domain/app/listmessages.do?board=12
2. Would my ActionForm will be populated from this parameter ?
Or we have to deal with them directly via request.getParameter( ) ?
Thanks guys.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Originally posted by John Todd:
1. Can we pass GET parameters to Struts pages, like :
http://domain/app/listmessages.do?board=12
2. Would my ActionForm will be populated from this parameter ?


1) Yes
2) Yes


Merrill
Consultant, Sima Solutions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Passing GET parameters to .do pages