Passing value of Radio button from one page to another
Posted on 2006-10-30
I have a radio button in one page. I have gathered that value in the action class on the click of submit. The using request.setattribute I have passed that value to ther next page. I could display the value from next page using system.out.println in a scriplet. I need to assign that valut to an other radio button in the current page. Here I assigned it to the value attribute using an expression. It is not working.
The code is given below.
System.out.println("JSP Value from request is "+radioValue);
<logic:equal name="AddressForm" property="personal" value="<%=radioValue%>"> --> Value is not getting assigned.
<html:radio property="personal" value="set" checked/> Student Personal<br><br>