Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 83003 invoked from network); 14 Jan 2003 22:32:02 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 14 Jan 2003 22:32:02 -0000 Received: (qmail 29806 invoked by uid 97); 14 Jan 2003 22:33:06 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 29788 invoked by uid 97); 14 Jan 2003 22:33:05 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 29776 invoked by uid 98); 14 Jan 2003 22:33:05 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: HTML Checkbox... X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Tue, 14 Jan 2003 16:31:37 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HTML Checkbox... Thread-Index: AcK8FyJU6JZcttWoRI2cRflyxsEKxAAAA1sg From: "James Childers" To: "Struts Users Mailing List" , X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Check the archives. This is another one of those questions that gets = asked (and answered) frequently. http://nagoya.apache.org/eyebrowse/SearchList?listName=3Dstruts-user@jaka= rta.apache.org Or try the JGuru Struts FAQ: http://www.jguru.com/faq/printablefaq.jsp?topic=3DStruts The short answer is: You're trying to set this in the wrong place. IMO, = you should be setting the default value of your form items in your = ActionForm, not the JSP tag. Ex: public class YourForm extends ActionForm { private String someCheckBox =3D "true"; // This sets the default value // getters and setters for same; will get called after form submission public void reset() { someCheckBox =3D "false"; // Need this here to handle submission of = unchecked boxes } } In your JSP: -=3D J > -----Original Message----- > From: John Bateman [mailto:jbateman@tinyntubby.com] > Sent: Tuesday, January 14, 2003 3:51 PM > To: Struts Users Mailing List > Subject: HTML Checkbox... >=20 > Hi >=20 > I read the docs but I can't seem to find a way to render this button=20 > 'checked' when I try and display it. >=20 > I've tried: >=20 > > > >=20 > And neither of them work. >=20 > Thanks >=20 >=20 > -- > To unsubscribe, e-mail: =20 > > For additional commands, e-mail:=20 > >=20 >=20 -- To unsubscribe, e-mail: For additional commands, e-mail: