aspose file tools*
The moose likes JSP and the fly likes problem for update and delete row in table using jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "problem for update and delete row in table using jsp" Watch "problem for update and delete row in table using jsp" New topic
Author

problem for update and delete row in table using jsp

nik gen
Greenhorn

Joined: Mar 24, 2008
Posts: 12
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30548
    
152

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
wood burning stoves
 
subject: problem for update and delete row in table using jsp