aspose file tools
The moose likes Servlets and the fly likes Retrieve Data From A Drop Down Menu Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Retrieve Data From A Drop Down Menu" Watch "Retrieve Data From A Drop Down Menu" New topic
Author

Retrieve Data From A Drop Down Menu

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
For example, I have a drop down menu created this way:

with a submit button.
When use a servlet to get what user's selection of choice from this menu, do I code this way:
String cohort = request.getParameter("age");
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56153
    
  13

Did it work when you tried it?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Retrieve Data From A Drop Down Menu
 
Similar Threads
Struts and JSP
Font color in drop down menu
selection box values from database
servlet+html
Getting Parameters from form