Meaningless Drivel is fun!
The moose likes JSP and the fly likes Radio button value null in servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

Radio button value null in servlet

Anand Gondhiya
Ranch Hand

Joined: Feb 24, 2004
Posts: 155
Hi ,

I have the following radio buttons.

Radio button value is pre set in javascript using :

Now My questions is:
in Servlet, by doing request.getParameter("emplOrNonemplRButton"),I get null value. why am I not getting the values pre-set in JSP ???

Thanks in advance.
- Anand
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32819

This looks like an accidental duplicate thread. See my response in the other copy.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

Please take care not to post the same question more than once.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Radio button value null in servlet
It's not a secret anymore!