【发布时间】:2013-08-23 19:23:39
【问题描述】:
我正在尝试导航到静态 Web 项目中的 xhtml 页面。我原来的上下文是一个带有icefaces 3.3 的动态网络项目。即使我在to-view-id 中指定.xhtml 作为结果,它也会使用.faces 重定向到以下路径。有没有办法让它重定向到.xhtml?
http://localhost:9080/staticWebRoot/logout.faces
faces-navigation.xml
<navigation-rule>
<from-view-id>*</from-view-id>
<navigation-case>
<from-outcome>logout</from-outcome>
<to-view-id>/../../staticWebRoot/logout.xhtml</to-view-id>
<redirect/>
</navigation-case>
</navigation-rule>
【问题讨论】:
标签: jsf jsf-2 websphere-7 icefaces-3