Posted: Mon Jun 02, 2008 10:59 am Post subject: Radio button pre selected in struts
Many people have problem in struts to automatically or pre selected radio button through <html:radio > tag.
In Struts radio button and other checkbox are static by nature.
We can do with action form and dynaform with setting value, once we set value it takes as selected that radio button
I have 2 buttons in struts
Yes <html:radio property="cRefund" value="R" />
No <html:radio property="cRefund" value="N" />