Jboss设置主页,不用项目名
今天要设置jboss启动后,输入ip自动显示主页,用的是jboss4.2.2。
jboss\server\default\deploy\jboss-web.deployer\conf的web.xml文件添加
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
然后在上级目录的ROOT.war下添加index.html,
在用iframe标签链接相关项目的路径。
猜你喜欢
转载自tf665415.iteye.com/blog/2051890
今日推荐
周排行