这是我的路错误与诠释的servlet 3.X
<welcome-file>home</welcome-file>
和我的servlet,我宣布URLPATTERN初级讲座
@WebServlet(urlPatterns="/home")
并转发到文件homeview.jsp
RequestDispatcher dispatcher = this.getServletContext().getRequestDispatcher("/SimpleWebApp/WebContent/WEB-INF/views/homeview.jsp");
dispatcher.forward(request, response);
但是当我运行我的web应用程序它与htttp状态404 anyboby错误,帮我解决它吗?谢谢alt
什么是整个404错误? – Perdomoff
请求的资源不可用。 –
你能解决这个问题吗? – Perdomoff