Servlet common errors:
1,404 Error: Resource not found
One reason: the alias servlet request to address the clerical error.
Two reasons: the virtual machine project name misspelled.
2,500 Error: Internal Server Error
Error 1:
java.lang.ClassNotFoundException:
com.bjsxt.servlet.ServletMothod
solve:
The fully qualified path in web.xml servlet class verification whether spelling errors.
Error two:
Because the code service method body implementation errors.
solve:
Changes to the service error method body code based on error.
3,405 Error: The request mode is not supported
the reason:
The method of the servlet request method and mismatch caused.
solve:
To make use of service request processing method, and do not call the parent class service in the service process.