wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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: 3476

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
 
Don't get me started about those stupid light bulbs.
 
subject: Passing GET parameters to .do pages
 
Similar Threads
Struts(JPF+NetUI+Bea Workshop)-IIS-How to get domain name from URL (Internet & Intranet )
getting user input
Pointing a file server in an web application
Tips to create web forum in JSF
Head First Servlets & JSP book - Reader Question