• 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
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need to diplay values retrieved from a database in a table along with check box in Struts2

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

I am not sure if i should be posting this under struts2 or jsp. But since the jsp tags differ when used with Struts2 I decided to post it here... so here goes... Like the subject Says, I am retrieving values from a database and displaying it as a table, with a check box to the left, to select a particular row if i want to.... this selected row will be subject to deletion or modification etc,

the code is as follows,


The result should be as follows,

select userid username designation
[] 44 vijee ase
[] 87 guna ita

but when i do run the code, my output is as follows,


select userid username designation
[]
44 vijee ase
[]
87 guna ita



Note: [] ----- > check box

Can you guys help me figure out what I did wrong?
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Struts 2 FAQ: Why do the form tags put table tags around controls
 
Maya sekar
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey thanks... figured it out....
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic