启动tomcat,进入ie,打地址,会出一排文件.选那个执行那个.
答案:1 悬赏:40
解决时间 2021-02-13 06:25
- 提问者网友:低唤何为爱
- 2021-02-12 22:52
启动tomcat,进入ie,打地址,会出一排文件.选那个执行那个.
最佳答案
- 二级知识专家网友:眠于流年
- 2021-02-12 23:17
在tomcat目录下\conf\web.xml
找到类似于
<welcome-file-list>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
的语句
把你要显示页面添加进去
例如:
<welcome-file-list>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>Test.jsp</welcome-file>
</welcome-file-list>
重起tomcat就可以可了
找到类似于
<welcome-file-list>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
的语句
把你要显示页面添加进去
例如:
<welcome-file-list>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>Test.jsp</welcome-file>
</welcome-file-list>
重起tomcat就可以可了
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯
• 手机登qq时,显示手机磁盘不足,清理后重新登 |
• 刺客的套装怎么选啊? |