Meaningless Drivel is fun!
The moose likes JSP and the fly likes Getting value from select in form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Getting value from select in form" Watch "Getting value from select in form" New topic

Getting value from select in form

Tom Joiner
Ranch Hand

Joined: Sep 19, 2006
Posts: 47
I have a form from which I can get the text values great. However, the select I can not seem to get the value from. Any ideas?

The last name and password work correctly. The roleID always comes back as null. Here is the form.

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Form parameter names are case sensitive:

[ October 06, 2006: Message edited by: Ben Souther ]

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Getting value from select in form
It's not a secret anymore!