HTTP error condition codes can be caught by the error function.
HTTP错误条件代码可以由错误函数捕获。
The RESTChess team build an engine to map exceptions to appropriate HTTP error codes.
RESTChess团队构建了一个引擎,能够将异常映射到适当的HTTP错误代码。
If a user submits information, as the servlet currently stands, an HTTP ERROR: 405 gets displayed by the browser, because the servlet doesn't currently support the POST method.
如果用户提交了信息,在servlet当前的情况下,浏览器会显示HTTP ERROR: 405信息,因为servlet目前并没有支持POST方法。
应用推荐