File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes html:checkbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:checkbox" Watch "html:checkbox" New topic


harendra juturu

Joined: Sep 23, 2009
Posts: 2

i designed one jsp page in this page four checkboxes using struts tag <html:checkbox>

and also two button placed.when click on submite button the selected checkbox values store into database.suppose i sellected first,third checkboxes.the values like 1 and 3,these values store into database.its work fine.

when i click on view button i want display checked status of checkbox corresponding values from the database

please some one help me how to write struts code

using technology jsp struts java

Ranveer K Kumar
Ranch Hand

Joined: Sep 13, 2009
Posts: 64
harendra juturu wrote:hi,


simply write action class so when you click on view button the corresponding checked value will retrieve from database.
I agree. Here's the link:
subject: html:checkbox
It's not a secret anymore!