Tomcat 404 错误页面的设置
2016-01-28 10:58
363 查看
Tomcat 404 错误页面的设置 首先在web.xml里面加入 <error-page> <error-code>404</error-code> <location>/404.jsp</location> </error-page> 2. 在webapps/ROOT/ 下加入404.jsp 3. 重启tomcat 即可.
相关文章推荐
- tomcat结合nginx使用
- tomcat结合nginx使用
- tomcat结合nginx使用
- tomcat结合nginx使用
- tomcat结合nginx使用
- tomcat结合nginx使用
- tomcat结合nginx使用
- tomcat结合nginx使用
- tomcat结合nginx使用
- tomcat结合nginx使用
- Tomcat安装步骤
- linux上tomcat安装
- 启动Tomcat报异常host-manager does not exist or is not a readable directory
- 进程里杀死tomcat
- 一个tomcat部署多个项目并通过不同的端口访问
- 在window上配置两个tomcate,分别用于solr的写与读
- tomcat8w.exe 运行 提示 指定的服务未安装 unable to open the service 'tomcat8'
- Eclipse中的Web项目自动部署到Tomcat
- Liferay Tomcat 时区修改
- maven + grunt + tomcat + cmd + sublime