Tomcat 404 error: The origin server did not find a current representation for the target resource or

1.如果一个工程里出现多个web.xml文件 每个web.xml文件都需对应一个index.jsp 。 添加完对应的index.jsp即可 2.servletTest文件夹sendToHello提交表单到HelloServlet、 HelloServlet在web.xml的映射没有使用/servletTest/hello,而是直接/hello。 这样会导致路径对不上,出现404错误。将路径改成完整
相关文章
相关标签/搜索