• Post Reply Bookmark Topic Watch Topic
  • New Topic

Want put button from database in jstl.  RSS feed

 
sarojni agrwal
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In this image, all data fetched from database by jstl, (user select from dropdown menu and it displays from database)but how can I put edit and delete button in action menu by database?
Screenshot_12.png
[Thumbnail for Screenshot_12.png]
 
Vijay Vishwa
Ranch Hand
Posts: 40
1
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your question is not clear.
May be you can share piece of code that displays the table.

In general, records are in some collection.
jstl forEach tag is used to create table rows and in last column of table html buttons are created.
The onclick action of button, call javascript method having rowid or any identifier as parameter.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!