hi,
get this picture in mind
HttpServlet ....has thses methods
1.public void service(ServletRequest req,ServletResponse res)throws ServletException,java.io.IOException
//Dispatches client requests to the protected service method
2.protected void service(HttpServletRequest req,HttpServletResponse resp)throws ServletException,java.io.IOException
//dispatches them to the doXXX methods
your servlet will extend HttpServlet ...so if you override service method it will not dispatch properly to doXXX methods....but if you override any of doXXX methods there will not be any problem