tomcat 配置404页面

在Tomcat文件夹下找到conf文件夹,找到web.xml文件,在最后面配置web <error-page>jsp <exception-type>404</exception-type>xml <location>/error.jsp</location>io </error-page>配置 这样就ok了exception
相关文章
相关标签/搜索