I believe that is how radio buttons work. Unless you select one, the browser won't send the request parameter.
Parameswaran Thangavel
Ranch Hand
Joined: Mar 01, 2005
Posts: 485
posted
0
hi chilkuri can i say, we can't Come to know whether the user has selected the radio button or not by using the Request.getParameterNames(); is there any way to identify whether the user has selected or not by using the getParameterNames() in the servlet.
Originally posted by Parameswaran Thangavel: hi chilkuri can i say, we can't Come to know whether the user has selected the radio button or not by using the Request.getParameterNames(); is there any way to identify whether the user has selected or not by using the getParameterNames() in the servlet.
You could use one more hidden field indicating whether the radio button was selected or not.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.