This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
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