Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Retrieve Data From A Drop Down Menu

 
JiaPei Jen
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65218
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did it work when you tried it?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic