It’s generally recommended in seam applications that Facelets be used instead of JSP. JSP pages are processed by the JSP container at the same time as they’re processed by the JSF engine which can cause conflicts. Performance is also improved when the JSP engine isn’t used. Facelets is a templating framework that also gives access to XHTML tags and extra debugging support.
It’s also recommended that you add seam’s UI tags which allow the use of Hibernate’s validator annotations and provide conversation and business process management along with other extra tags.
To enable these you need to edit your configuration files and add some jar files.
Add required jar files:
Add el-api.jar and el-ri.jar to the ear file so they can be used by both your war and jar files. Make an entry in the application.xml file to make the jars available on the ear classpath.
Add a View Handler:
The view handler renders html pages from facelets pages and templates.
Update the web.xml so that the facelets suffix .xhtml will be used for web pages.
Add the Filter and Resource Servlet:
You can now use .xhtml pages in your application and make use of the seam ui tags.