How to pre select Radio Button In Struts
807569Sep 14 2006 — edited Sep 14 2006Hi,
I have two radio buttons
1. Deposit
2. Account
i want the first one i.e deposit to be selected by default.This can be done by writing checked in jsp.
Now if i choose second option viz account and an error comes on that so i am displaying the same page to user with all the fields in editable mode,
But in that case the second option button must be selected as my user selected the second one...
I am not getting any other solution to select a option button by default