读书人

请问一个初学者有关问题随便散分

发布时间: 2012-02-03 22:02:47 作者: rapoo

请教一个菜鸟问题,随便散分
现在有一台机器,上面安装了tomcat,譬如,我想直接输入
ip地址或者该机的域名就能访问到其中一个web服务,譬如
说..\webapps\test\; 访问http://ip 或者http://domainName 就能直接访问到http://ip/test

[解决办法]
用IIS ?
[解决办法]
你修改一下web.xml文件中
<welcome-file-list>
<welcome-file> index.jsp </welcome-file>
<welcome-file> index.html </welcome-file>
<welcome-file> index.htm </welcome-file>
</welcome-file-list>
将index.jsp,指向一个地址就可以。

读书人网 >应用服务器

热点推荐