1, HTTP 401
User authentication failed, no continued access allowed
2, HTTP 403
No access, no access to the Web app, no name specified to access the page
3, HTTP 404
The requested file could not be found, usually when the browser entered the address, the address entered is incorrect, or the address of the link is incorrect.
4, HTTP 405
Access to the resource is not allowed, usually occurs when calling the servlet, if there is no response in the servlet processing operation, there will be a 405 error. For example, only the Doget () method is written in the servlet, and the Dopost () method is used for the request.
5, HTTP 500
Server error, most common error. Typically, the code for a servlet or JSP has errors.
If the database driver is loaded, class.forname (), if an error occurs.
A classnotfoundexceprion will appear and a 500 error will be reported.
HTTP Common Error Code summary