现在有一台机器,上面安装了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 </welcome-file>
<welcome-file> index.htm </welcome-file>
</welcome-file-list>
将index.jsp,指向一个地址就可以。