求救:ApacheTomcat5.5.26配置虚拟目录问题
我的ApacheTomcat5.5.26安装好了也能运行,可是虚拟目录testWeb配置不成功。
conf目录下server.xml里加入
testWeb目录下也有WEB-INF文件夹里面也有web.xml其中内容也修改好了、
在虚拟目录里要有index.html然后在浏览器地址栏里输入[url=http://127.0.0.1:8080/testweb]http://127.0.0.1:8080/testweb[/url] 能够进入index.html页面
要是testweb目录下没有index.html 那么[url=http://127.0.0.1:8080/testweb]http://127.0.0.1:8080/testweb[/url] 就显示HTTP404错误?
这是什么原因?
谁能帮帮我!!! |