还是用这个吧:
我刚试验完,好用的:
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
我刚试验完,好用的:
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
解决方案 »
- new Date(System.currentTimeMillis())
- 菜鸟求救 呼叫各位大大!!
- 简单的数据库联结程序,贴出程序,帮忙找错!
- struts,应该是jsp中如何实现像qq那种抓图功能?
- 高分求解,如何在struts模式中实现显示一个目录下的所有文件,解决即给分!!!
- 用jsp做关于时间方面的查询
- 超过4000的字符串在oracle存什么类型,Blob吗?怎么写?
- java里ascll码的转换函数是什么,也就是相当于vb里的chr函数
- 怎么取消浏览器里留下的地址?who can help me?
- 救命啊,关于java,tomcat配置问题。
- 请各位同仁,这次真的要帮帮忙了,我先谢谢大家
- 关于html的写法?特殊情况??
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
不隐藏路径URL转发:例如:http://b.com/指向http://a.com/xxx/(任意目录);在浏览器地址栏中打入http://b.com/连接后地址栏会显示真正的地址http://a.com/xxx/ 。
隐藏路径的URL转发:例如:http://b.com/指向http://a.com/xxx/(任意目录);在浏览器地址栏中打入http://b.com/连接后地址栏显示的还是http://b.com/,但实际显示的是http://a.com/xxx/的内容。
在web.xml里面加上
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>