jsp的默认首页设置 在windows 2008中整合好了tomcat和iis,那怎么才能默认指定的首页啊如:这样可能执行:http://localhost/test/index.jsp想改成:http://localhost这样就行执行,在哪可以设置啊, 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 如上 配置欢迎页web.xml文件中配置welcome-file http://localhost/test 可以用welcome-file控制。http://localhost/ 可以吗? http://localhost/ 是打开tomcat了必须加上工程的名字啊,要不怎么知道你访问的是那个项目啊 把项目放到 webapp下的ROOT目录下 放在 webapps\ROOT\ 下并修改 Tomcat 6.0\conf\web.xml 中 <welcome-file-list> <welcome-file>a.html</welcome-file>你想要默认跳转的页面 <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> </welcome-file-list> struts2怎么把从一个页面查询到的数据赋值给另一个页面的<s:textarea 文本框>急!!!! 大家探讨一下hibernate中的关系映射与继承映射的优缺点 spring 注解事务 回滚问题求助 有谁用过jstockchart开发过股票分时图,怎么去掉交易量的那一块图 JSP调用bean写文件的问题 jsp问题,急! 救急 jdbc取mysql的中文数据没有问题,为何往表里插入记录当字段含有中文时乱码? 真是奇怪的问题,请各位指教, 求解:学习 Spring时,Tomcat 启动出现问题 CLOB数据类型无法读取数据问题 大家帮忙看一下 ....
http://localhost/ 可以吗?
必须加上工程的名字啊,要不怎么知道你访问的是那个项目啊
并修改 Tomcat 6.0\conf\web.xml 中
<welcome-file-list>
<welcome-file>a.html</welcome-file>你想要默认跳转的页面
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>