This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passing GET parameters to .do pages