In your form bean, just initialize your radio property with the value of
the radio button you want to be checked by default, then you're done.

Saul

-----Original Message-----
From: Mauricio T. Ferraz [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 20, 2004 11:18 AM
To: Struts Users Mailing List
Subject: Radio button CHECKED ???


How to use the <html:radio> tag and define a specific radio with CHECKED
by default ?

p.e <input type="radio" name="radiobutton" value="1" checked>

thanks



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to