File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes How to set check/unckeck Checkbox using database value(I am using <html:checkbox>) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to set check/unckeck Checkbox using database value(I am using <html:checkbox>)" Watch "How to set check/unckeck Checkbox using database value(I am using <html:checkbox>)" New topic
Author

How to set check/unckeck Checkbox using database value(I am using <html:checkbox>)

andrew ronchi
Ranch Hand

Joined: Nov 03, 2011
Posts: 38

hi,
i am using an <html:checkbox> tag in my jsp page.
correspondingly i have a column in database which store either on or off value.
so i want to show that check box checked if its value in database is ON..otherwise unchecked.
how can i do that.
i want same for radio buttons too.....thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set check/unckeck Checkbox using database value(I am using <html:checkbox>)