Forums Register Login

JSP Error

+Pie Number of slices to send: Send
Hi,
I tried to get the run time output of radio button and text box using Jsp.I am using the method request.getParameter("").But i can able get the output of text box and am also get the wrong output of radio button.Please give me any solution to solve this problem.It is very helpful to do continue this process.

Sample.jsp


trans.jsp



output of my code is


V35010

Thanks.
+Pie Number of slices to send: Send


Here you are setting the value for radio button?
+Pie Number of slices to send: Send
Hi,
Thanks for your reply. I am putting
while(rs.next())
{
String callerid=rs.getString("callerid");
out.print("<input type='radio' name='callerid' value=' '> ");
out.print(callerid);
out.print("<br />");

}
and I am also check it value='cs' and then change my code trans.jsp
if(request.getParameter("cs")!=null)
{
String callerid=request.getParameter("cs");
out.print(callerid);
}
But i can't get any output.How to solve this problem.Please give me any solution to do solve this problem.

Thanks.
Paper jam tastes about as you would expect. Try some on this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 10365 times.
Similar Threads
Doubts in jsp
How to getParameter value
Error comes whilke compiling the jsp page
Getting error
How can i get selected radio button value using jsp
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 22:22:43.