【发布时间】:2013-06-07 12:00:08
【问题描述】:
我有“/pages/index.xhtml”页面。问题是当我运行应用程序时,此索引页面名称不会出现在地址栏中。
它只显示http://localhost:8080/myApplication/。我想看的是http://localhost:8080/myApplication/pages/index.xhtml
有什么解决办法吗?
这是来自 web.xml 的欢迎文件
<welcome-file-list>
<welcome-file>pages/index.xhtml</welcome-file>
</welcome-file-list>
【问题讨论】:
标签: jsf url jsf-2 welcome-file