On Mon, Apr 8, 2013 at 12:52 PM, José Luis Cetina <maxtorz...@gmail.com>wrote:
> This question, is not specific of Primefaces. > > If you want to use Java Server Faces, set this in your web.xml > > <servlet> > <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> > <!-- HERE YOU CAN SET YOU JSF FILE EXTENSION--> > <url-pattern>*.xhtml</url-pattern> > </servlet-mapping> > > Nice response, Jose! also, since you are using MyFaces and OpenWebBeans/CDI, please click URL below and do what is recommended there, to improve performance of your Java Server Faces (JSF) web app. Increase your JSF application performance (Part 1 - Environment & Configuration) [1] Increase your JSF application performance (Part 2 - Design Patterns) [2] JSF, Facelets, Myfaces and Richfaces Performance Tuning [3] And last but not least, consider TomEE [4], which bundles myfaces + OpenWebBeans, and Jose' and I both are using TomEE + PrimeFaces. :) [1] http://tandraschko.blogspot.de/2012/08/increase-your-jsf-application.html [2] http://tandraschko.blogspot.de/2012/09/increase-your-jsf-application.html [3] http://blog.eisele.net/2009/10/jsf-facelets-myfaces-and-richfaces.html [4] http://tomee.apache.org/apache-tomee.html