• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Doubt in checkboxlist : In assigning each checkbox to different property

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

How do i assign different property in my controller class for each checkboxes of my checkbox list. Please give me some idea.

Say i'm building a list in my controller class to display the list of checkboxes in jsp like below



And in my jsp


After selecting the checkboxes among Apple / Banana / Grapes in UI, how do i assign or make sure in my controller class which are the checkboxes are selected. I mean how do i assign different property in my controller class for each checkbox.

Thanks,
Sakthi
 
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Check out this link below..

http://www.ibm.com/developerworks/java/library/j-sr3.html
 
reply
    Bookmark Topic Watch Topic
  • New Topic