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.