struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Kersten" <>
Subject set a html:checkbox checked
Date Thu, 21 Nov 2002 16:33:51 GMT

how can I set a checkbox checked during creation in the JSP. In HTML I would
do it like this:

  <input type="checkbox" name="mycheck" checked>

But I can't find that for the struts tag:

  <html:checkbox property="mycheck">check it</html:ckeckbox>

And can I use the value "true" to set a checkbox checked. I get only a
"true" from my bean and not a "checked" or something else.

ciao Oliver.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message