Dear Deepak, is it compulsary to write the sevice() becoz i ve seen some example which does not ve sevice()..is it tue? plz replay me
with thanks praveen
No it is not compulsory to write service() method. It is a life cycle method. In servlets, we define usually doGet() and doPost() method.
Have a look at the following link:
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.