Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Maya sekar
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • 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?
 
Maya sekar
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey thanks... figured it out....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic