doubt html:checkbox in jsp

how to write code while loading jsp page the checkbox is checkedit is possible or not in html:checkboxplease reply me
[138 byte] By [kathir226a] at [2007-10-2 5:14:08]
# 1

<input type="checkbox" checked>

enables you set iniatially checked

use

http://www.w3schools.com/html/html_forms.asp

for more example about DOM structure and html elements.

if it is not the case make a clear definition of your problem or provide sample code to be observed.

Good luck.

:)

what.why.howa at 2007-7-16 1:16:40 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

no... if you are using html:checkbox, then it's going to base the checked state of the box automatically for you based on the value of the property of the form bean for the form. If the value of the form bean's field for that checkbox property matches the value of the html:checkbox tag you define, it'll check it, else it won't.

bsampieria at 2007-7-16 1:16:40 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...