Hi,
I am creating a web application. In that I have multiple radio button and two button.
What I want to do is--
I want to choose a radio button and according to that value if I will click the button1, I want to display a different jsp page.
But I don't know how to do that, because I am using a form in the jsp page and i set the type property for the from as type="newjsp.jsp". It displaying me the newjsp, when i click that button
But how can I work with the next button, if I want to display some different jsp page after clicking that button
I want to do something like this.
If radiobut1.checked then
at click of button1
display jspnew.jsp
else
if radio2.checked then
at click of button1
display jspuse.jsp.
end if
and
button2.click
jsptest.jsp
.
I have write by all the methods in javabeans, what I want is to use that method value on jsp.
and also want to send some value from jsp page to the class, to fetching data from database, using as parameter for the query(testbox)
Please can any one suggest me what way i should go.
Thank you in advance