Hi At first need to create confirm delete servlet were dada will be exposed , When click on delete redirect to updatedelete servlet that take data from database with id to selected person "getCustomer(idCustomer) ".Than tis servlet will redirect to confirm delete and after confirm redirect to delete control servlet that use method for delete from database "deleteCustomer(idCustomer);" and than back to List servlet.
Regards ----- Original Message ----- From: Biljana Biljana To: J2EE Passion Group Sent: Thursday, May 14, 2009 8:12 PM Subject: [java ee programming] Homework in Lab 4320 Hello everyone! I have doubt. How that output screen have to look? Delete methoh have to be part of table like this: ------------------------------------------------------------------------ List of Persons currently in Database ID LastName FirstName Function 4 someone1 someone1first Delete 3 someone2 someone2firs Delete ..... Create Person Record Or like this: ------------------------------------------------------------------------ List of Persons currently in Database ID LastName FirstName 4 someone1 someone1first 3 someone2 someone2firs ..... Create Person Record Delete ------------------------------------------------------------------------ So when we click Delete apears page where we input LastName, and FistName of user which we want to delete. For first option, which I think is correct, In what way we will show DeleteServlet, which we call , which persone we dellete, how to pick up right lastName, and firstName? I just don't know how to solve this problem. Help! Regards, Biljana --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---