tomcat的http status404错误
来源:百度知道 编辑:UC知道 时间:2024/05/03 11:38:29
HTTP Status 404 - /thi/C00100HW/C00100HW_files/Default.htm
----------------------------------------------------------------
type Status report
message /thi/C00100HW/C00100HW_files/Default.htm
description The requested resource (/thi/C00100HW/C00100HW_files/Default.htm) is not available.
----------------------------------------------------------------
Apache Tomcat/5.5.11
----------------------------------------------------------------
type Status report
message /thi/C00100HW/C00100HW_files/Default.htm
description The requested resource (/thi/C00100HW/C00100HW_files/Default.htm) is not available.
----------------------------------------------------------------
Apache Tomcat/5.5.11
你可以在webapps文件夹下新建一个自己的目录如webapps/mytest
然后把ROOT文件夹子下的WEB-INF文件整个复制到mytest下
再把你要运行的Default.htm 也放在mytest文件夹子下
最后在浏览器中打入http://127.0.0.1:8080/mytest/Default.htm
就可以了