It'll appear checked if the value of the property attribute (from your form-bean) matches the value of the value attribute.
<html:checkbox property="color" value="red"/> This checkbox will appear selected if getColor() returns "red". Sri -----Original Message----- From: Sanjeev [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 2:44 PM To: Struts Users Mailing List Subject: Making the checkbox selected by default. Hi All, How do I make a checkbox selected by default ? I'm using struts' checkbox tag in my application. I couldn't find any fields in the corresponding tag. Please help.. Thankx in advance.. -Sanjeev -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

