日期:2014-05-18  浏览次数:20600 次

请问怎么把首页设为一个通过JSF映射的页面。
把首页设为一个通过JSF映射的页面,或者一般的.jsp、.html怎么link到一个JSF方式访问的页面。

------解决方案--------------------
好像一般做的都是用javascript比如window.location.href= "index.jsf ";
------解决方案--------------------
设首页在web.xml中添
<welcome-file-list>
<welcome-file> index.jsp </welcome-file>
</welcome-file-list>
联结使用 <h:commandLink value= "index.jsp "/> 标签
------解决方案--------------------
路过,帮顶!