This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a radio button group with 3 radio buttons, when I select a particular radio button each one of them will transfer the control to another jsp page, performs some calculations and returns to the caller jsp page, but when I return my radio button is not checked. How can i keep it selected.
I tried taking the value of the radio button in a string in the jsp page where I am doing some calculations and again setting the radio button value in a hidden field, when I return to the caller jsp page I am trying to write jsp code in the radio button value property as:
where hiddenfiled is the hidden field name in the other jsp page.
How can i keep my radio button selected even after page refresh. Please guide me. [ August 11, 2006: Message edited by: Sree Mami ]
If you're doing this with JSP, there's no need for cookies, the value of the request param is still available when the JSP is being processed and you should be able to use it to set the "checked" attribute.
I've moved this to the JSP forum for any further discussion.