您的位置:首页 > 运维架构 > Tomcat

tomcat直接输入Ip和端口号就可以主动加载一个jsp页面!

2014-06-15 10:45 232 查看
在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>

意思是:输入Ip和端口号后,会主动运行名字为index.html或其他两种的页面!当然也可以自己创建想自动加载的页面!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: