Hi,
I have a form consisting of several radio buttons. Upon form generation I need radio buttons in the form to be checked based on the attribute of a bean stored in the session. If the beans property is true then a particular radio button value of "true" should be checked. Option One <html:radio property="optionOne" value="true" /> <html:radio property="optionOne" value="false" /> Option Two <html:radio property="optionTwo" value="true" /> <html:radio property="optionTwo" value="false" /> I want these preselected based on a bean which has variables corresponding to each radio button boolean optionOne = false; boolean optionTwo = true; How can I achieve this? Thanks, CH