如何配置tomcat服务器可以更改web站点的首页文件,就10分了,帮帮忙吧! 修改你的应用的WEB-INF\web.xml文件 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 ../conf/web.xml文件的末尾部分,就是搜索目录缺省文件名的定义。 <welcome-file-list> <welcome-file>main.html</welcome-file> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> </welcome-file-list>第一行的main.html是我添加上的,这样就可以使用main.html了~ 修改了web.xml<welcome-file-list> <welcome-file>main.jsp</welcome-file> </welcome-file-list>这样只是改写了默认目录tomcat\webapps\root\的welcome文件,如果我想该我的d:\web\下的welcome文件应怎么设置呢? 修改tomcat里面conf/web.xml文件的末尾部分 <welcome-file-list> <welcome-file>main.html</welcome-file>//main.html是你自己想要运行的文件名 <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> </welcome-file-list> 我顶不过最好同时也修改yourweb-site/WEB-INF/web.xml<welcome-file-list> <welcome-file>main.jsp</welcome-file></welcome-file-list> 如何实现 Java WEB 的SSO(单点登录),要有源码!(高分) 关于java算法 这个方法是哪里来的??继承了哪个类? 反射机制 为什么页面找不到 谁能帮我看看这个错误是什么意思啊? 请教开发中的一点小问题 帮帮忙 看看错误在什么地方!! Struts中如何重新加载资源文件,我觉得Struts应该提供这个接口的,但找不到,希望高手帮忙 新闻系统生成静态HTML文件的问题 请问大侠,在Weblogic8中怎么配置SQL Server2000的连接池,多谢!希望能得到详细点的答案,谢谢各位帮忙 两个weblogic配置问题求教
<welcome-file-list>
<welcome-file>main.html</welcome-file>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
第一行的main.html是我添加上的,这样就可以使用main.html了~
<welcome-file-list>
<welcome-file>main.jsp</welcome-file>
</welcome-file-list>这样只是改写了默认目录tomcat\webapps\root\的welcome文件,如果我想该我的d:\web\下的welcome文件应怎么设置呢?
<welcome-file-list>
<welcome-file>main.html</welcome-file>//main.html是你自己想要运行的文件名
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
不过最好同时也修改yourweb-site/WEB-INF/web.xml
<welcome-file-list>
<welcome-file>main.jsp</welcome-file>
</welcome-file-list>