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 Servlets and the fly likes how to get the all form elements 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 » Java » Servlets
Bookmark "how to get the all form elements" Watch "how to get the all form elements" New topic
Author

how to get the all form elements

rajeshpjava rajeshchen
Greenhorn

Joined: Aug 25, 2008
Posts: 1
how to get the all form elements of a previous jsp in enum or a list?
any methods like
1..request.getAllparameter
2..requst.getForm()
availble in servlet API

i wants a correct reply from our group
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Check ServletRequest:

getParameterMap() or getParameterNames()
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"rajeshpjava rajeshchen",
Please check your private messages.
-DOM
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to get the all form elements