File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
andrew ronchi
Ranch Hand
Posts: 48
Eclipse IDE Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic