如何设置[tomcat]无论访问那个目录都自动找当前目录下的index.jsp或index.htm等等。 单一目录的我会设,是改web.xml文件。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 在tomcat/conf/web.xml中 <welcome-file-list></welcome-file-list>添加如<welcome-file>index.jsp</welcome-file> 如果是要对所有而言的话,那么修改/tomcat/conf/下的web.xml文件的<welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> </welcome-file-list>这些值,要对具体的话,那么可以拷贝这个文件放到具体目录下设置实现! 求二级动态下拉列表设计方法 JavaWeb JS写Cookie JSP怎么读 在Struts2 ACTION中 生成了XML各式,并通过out.write传到页面,用Ajax解析,但结果似乎out没传到页面上 JFreechart 的饼图效果................ STRUTS跳转问题 跪求:关于页面弹出窗口的问题 JAVA可以通过ODBC连接CSV文件嘛? 传智播客 09年11月 精品就业班 组团报名! 急死我了!请教各位,.jsp如何编译成.class文件? 如何取一个double值的整数部分? 请教高手jspSmartupload 循环查询的问题.
<welcome-file-list></welcome-file-list>
添加如
<welcome-file>index.jsp</welcome-file>
/tomcat/conf/下的web.xml文件的
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
这些值,要对具体的话,那么可以拷贝这个文件放到具体目录下设置实现!