菜鸟问个TOMCAT 配置简单问题,劳烦解答下,谢谢有个WEB项目是STRUTS+SPRING开发的,登陆界面是LOGIN.JSP,对应的ACTION是LOGINACTION.JAVA
按我所想的在IE中输入http://localhost:8080/xx/LOGINACTION.do才开始了这整个系统。可是如果在TOMCAT里面这样配置
<Context path="/ss" docBase="D:/projects/xx/Src/front/Jsp" debug="1" reloadable="false" crossContext="true"> D:/projects/xx/Src/front/Jsp这个目录下包括所有的配置文件和JSP如web.xml在IE中输入http://localhost:8080/ss就直接显示登陆界面了,这个配置系统是怎么自动找到LOGINACTION.do并执行的?
按我所想的在IE中输入http://localhost:8080/xx/LOGINACTION.do才开始了这整个系统。可是如果在TOMCAT里面这样配置
<Context path="/ss" docBase="D:/projects/xx/Src/front/Jsp" debug="1" reloadable="false" crossContext="true"> D:/projects/xx/Src/front/Jsp这个目录下包括所有的配置文件和JSP如web.xml在IE中输入http://localhost:8080/ss就直接显示登陆界面了,这个配置系统是怎么自动找到LOGINACTION.do并执行的?
<welcome-file-list id="WelcomeFileList">
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
<welcome-file>index.jws</welcome-file>
</welcome-file-list> index.html是首页
你说的这个吗?这个怎么和http://localhost:8080/ss联系起来的?谢谢
<welcome-file>aa.jsp </welcome-file>
</welcome-file-list> 修改aa.jsp没用
WEB.XML有
<welcome-file-list id="WelcomeFileList">
<welcome-file>index.jsp </welcome-file>
<welcome-file>index.html </welcome-file>
<welcome-file>index.jws </welcome-file>
</welcome-file-list>
可是改了没变化啊