Meaningless Drivel is fun!*
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
Author

html:checkbox

harendra juturu
Greenhorn

Joined: Sep 23, 2009
Posts: 2
hi,

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


thanks
harendraj
Ranveer K Kumar
Ranch Hand

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

harendraj


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: http://aspose.com/file-tools
 
subject: html:checkbox
 
Similar Threads
jsp
Struts : checkbox status is unchanged if i use back button and uncheck it
how to display a check box using html:checkbox ?
validating the arraylist values in struts
restore form in struts