I am woking on a Eclipse project in which in my JSP file I can add items. Each item has a status. To choose the status, I implemented a checkbox.
When the checkbox is checked, I store the value 1 in my DB.
I implemented the modification of an item and I would like to check (or not) my checkbox depending on the value stored in my DB.
<input type="checkbox" name="status" value="active" >active
How can I check the checkbox from my servlet in case the item in modification has a status = 1 ?
Thank you !
Aucun commentaire:
Enregistrer un commentaire