Dear sir in the above code if i will not extend the class first from that of HttpServlet and then when i am deploying then i m getting an error message that Noservlet class was added in the war module why sir why? although i am using J2EE server.
You don't need to extend HttpServlet, but you do need to implement Servlet, so that the servlet lifecycle methods are available to be used by the container. But why wouldn't you want to extend HttpServlet - it does a number of useful things that you would have to program yourself otherwise (e.g., the dispatching to the doXYZ methods).
Ping & DNS - updated with new look and Ping home screen widget