web.xml configuration
<!-- Facelets paramaters-->
<context-param>
<param-name>facelets.VIEW_MAPPINGS</param-name>
<param-value>*.xhtml</param-value>
</context-param>
<context-param>
<param-name>facelets.DEVELOPMENT</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>facelets.REFRESH_PERIOD</param-name>
<param-value>1</param-value>
</context-param>
<servlet id="Servlet_1118759574209">
<description>Faces classic servlet same as IBM SUN and myFaces</description>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
/faces/* mapping is important, if you change your web.xml file as described above your files which has xhtml extension will be handled by Facelets view handler.
This works for me, let me know it works for you or not.
Regards....
--
Murat HAZER
Elektrik-Elektronik Mühendisi - Electrical-Electronics Engineer
Tel - Phone: +90 222 335 05 80 - 1395
Cep Tel - Mobile Phone: +90 532 472 00 63
Blog URL:
http://www.projedunyasi.org
Yahoo Group: http://groups.yahoo.com/group/malatyafenlisesi97/
- Re: Facelet and JSF View handler together kyphung
- Re: Facelet and JSF View handler together Murat Hazer
- Re: Facelet and JSF View handler together kyphung
- Re: Facelet and JSF View handler together Murat Hazer

