• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:checkbox

 
harendra juturu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
harendra juturu wrote:hi,

harendraj


simply write action class so when you click on view button the corresponding checked value will retrieve from database.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic