This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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: 30392
    
150

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem for update and delete row in table using jsp