Originally posted by karthik rajendiran:
Hi,
First of all u have to understand why u r extending the HttpServlet Class, if u want any Http Method to be handled in ur servlet better you override the service method,
your container is designed to handled your servlets depending on the Http methods,
once you override the doPost method and not the doGet, your container understands that you are restricting the user by sending the request by GET method, hence the error,