404 The origin server did not find a current representation for the target resource or is not
如果出现404错误,并且有以下信息Type Status ReportMessage /book1/registServletDescription The origin server did not find a current representation for the target resource or is not willing to disclose that one exists
·
如果出现404 错误,并且有以下信息
Type Status Report
Message /book/registServlet
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
那可能是在类名注解的属性写成name了,把name改成value就可以了.
@WebServlet(name = "/registServlet")
public class RegistServlet extends HttpServlet {
更多推荐
已为社区贡献1条内容
所有评论(0)