Originally posted by bujjib babu: I am Having two buttons in my html page.
One is Add. Second One is Delete.
When I press Add Button it should call AddServlet and when i press Delete button it should call DeleteServlet..
Please Justify me,..
Initially, you send your both the request to the same servlet (controller) then here you check what request it is, (one way is, give any value to button and then compare here...) and do whatever you want to do...
This is the simplest solution of your problem. I guess.
Charles Lyons (SCJP 1.4, April 2003; SCJP 5, Dec 2006; SCWCD 1.4b, April 2004)
Author of OCEJWCD Study Companion for Oracle Exam 1Z0-899 (ISBN 0955160340 / AmazonAmazon UK )