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.
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.
Joined: Jun 11, 2013
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.
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.
Let me know if you have further questions and post the code of related files.