我正在尝试导航到静态 Web 项目中的 xhtml 页面。我原来的上下文是一个带有icefaces 3.3 的动态网络项目。.faces
即使我在 .xhtml 中指定 .xhtml 作为结果,它也会重定向到以下路径to-view-id
。有没有办法让它重定向到.xhtml
呢?
http://localhost:9080/staticWebRoot/logout.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>