Pretty Faces Mapping问题

我使用PrettyFaces for Pretty URL 但我对PrettyFaces有第一个问题: 我在pretty-config.xml中的映射
     <url-mapping id="home">
  <pattern value="/" />
  <view-id>/faces/index.jsf</view-id>
  </url-mapping>
我有一个文件index.xhtml 在服务器URL上部署时http:// localhost / myproject 它找不到index.jsf 发生了什么 ? 在prettyfaces的web.xml中映射
<!-- PrettyFaces-->

<filter>
    <filter-name>Pretty Filter</filter-name>
    <filter-class>com.ocpsoft.pretty.PrettyFilter</filter-class>
</filter>

<filter-mapping>
 <filter-name>Pretty Filter</filter-name>
 <url-pattern>/*</url-pattern>
 <dispatcher>FORWARD</dispatcher>
 <dispatcher>REQUEST</dispatcher>
 <dispatcher>ERROR</dispatcher>
</filter-mapping>





<!-- End PrettyFaces-->
GlassFish消息的问题
HTTP Status 404 - /index.jsf not found

type Status report

message/index.jsf not found

descriptionThe requested resource (/index.jsf not found) is not available.
    
已邀请:
index.jsf
文件不存在。将它放在项目的根目录中(http://localhost/myproject/index.jsf)。     

要回复问题请先登录注册