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: