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

problem for update and delete row in table using jsp

 
nik gen
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
my prob is like follow,
i have a table that displays 5 fields from database in jsp page.
now i want to update that row when i select the update button beside that particular row.
i want to update the first row by clicking the first update button
for ex.

NAME NO ADD
abc 1 dhgf update delete
def 2 hdsfj update delete

now i have an unique key in database for each row by it i want to update.
can any one help me???/
thanks in advance
please do fast
i have deadline.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34095
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nik,
It sounds like you want to pass a parameter to the update button (the unique key.) How to do that depends on what your page looks like. For example, you could use a hidden input field for a form button. You could pass the parameter in the link (url?key=1) for a link submission.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic