File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes delete row using customer id in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "delete row using customer id in java" Watch "delete row using customer id in java" New topic
Author

delete row using customer id in java

rupali zambre
Greenhorn

Joined: Jun 11, 2013
Posts: 2
hi all,
i have created customer information form in jsp using netbeans with insert, update and delete buttons.I have done with insert record.now i want to delete a record from table.when i click on delete it goes to next page where i have to enter customer id and then delete that record.
please help........

Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1449
    
    6

If you have done the insertion part, what problem are you facing with delete? It's the same approach, submit the request to servlet with the id, delete the record and send the response back to the client.


Swastik
rupali zambre
Greenhorn

Joined: Jun 11, 2013
Posts: 2
hi swastik,
i did not use servlet....its jdbc connection.i am a beginner in java.i am not getting how to delete and also update.The insertion part is done someone else.
Prajakta Acharya
Ranch Hand

Joined: Nov 08, 2012
Posts: 138

Hi,

When user clicks on Insert/Update/Delete, what happens? Where are the DB operations handled?
The source from where the customer records are fetched and displayed on JSP, shjould also get corresponding Ids and make available as hidden parameters on the JSP.
Using javascript. you can pass that Id for updation/deletion logic.

Let me know if you have further questions and post the code of related files.


Regards,
Prajakta
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: delete row using customer id in java
 
Similar Threads
NX: customer ID in urlybird
Reset AUTO INCREMENTS
Tests for the Data class/locking mechanism
Please help me correct my application design(using REST API and jersey)
Linked list qns