我的tomcat配置好了,而且在eclipse里面能够启动,打开浏览器能够运行localhost:8080,但是就是不能打开localhost:8080/helloapp,我的helloapp放在tomcat的webapps里面。
下面是我的程序结构图:
下面是我的web.xml文件,开头部分删掉了:
求大师解答、、、
------解决方案--------------------------------------------------------
你看你部署到tomcat下得文件名称是不是叫helloapp
------解决方案--------------------------------------------------------
在项目上点击右键--->属性-->MyEclipse-->Web
看下Web-Contexe-root是不是helloapp
------解决方案--------------------------------------------------------
晕,你是用ant吗?~不是的话没有必要用build.xml文件吧~?