HTTP Status 404 (URL)
出现这个错误一般是 URL 的错误,但是情况不同,代码细节的地方有很多种错法,这里我只单方面说一下我遇到的错误。HTTP Status 404 - /HelloClientWeb/servletServiceTomcattype Status reportmessage /HelloClientWeb/servletServiceTomcatdescription The reque...
·
出现这个错误一般是 URL 的错误,但是情况不同,代码细节的地方有很多种错法,这里我只单方面说一下我遇到的错误。

HTTP Status 404 - /HelloClientWeb/servletServiceTomcat
type Status report
message /HelloClientWeb/servletServiceTomcat
description The requested resource is not available.
Apache Tomcat/8.0.32
我的错误是 index.jsp 和 web.xml 里面的 servlet URL 访问路径不相同。
index.jsp

web.xml

把两个地方改成一样的就解决错误

更多推荐



所有评论(0)