Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to pre select Radio Button In Struts

807569Sep 14 2006 — edited Sep 14 2006
Hi,
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 12 2006
Added on Sep 14 2006
2 comments
270 views