This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!

Now My questions is:
Servlet, by doing request.getParameter("emplOrNonemplRButton"),I get null value. why am I not getting the values pre-set in JSP ???
If I remove the disabled from <input type="radio"> tag , it works fine. it's causing problem becasue I have specified disabled

Thanks in advance.
- Anand
author & internet detective
Posts: 37874
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's how browsers work. Disabling a field sets it to "no value" when the form is submitted. In Java, that is null.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!