webtier@glassfish.java.net

Is that possible/good to mix the regular JSF JSP pages and Facelets pages?

From: <webtier_at_javadesktop.org>
Date: Mon, 10 Nov 2008 09:41:19 PST

Is that possible/good to mix the regular JSF JSP pages and Facelets pages in one single project?

My use case is, suppose I already have JSF application with several JSF JSP pages. And I want to change the future development by trying to add only Facelets pages to improve the performance. Is that possible I continue to use the same project? Can these different pages navigate to each other? (i.e., jsp <-> xhtml)

I tried this on JSF 1.2 + Facelets 1.1.14 and looks like it's not working! When it navigates to a JSF JSP page, the server reports "javax.servlet.ServletException: Error Parsing /Page.jsp: Error Traced[line: 1] The markup in the document preceding the root element must be well-formed."

Is that still true for JSF 2.0? Will JSF 2.0 integrate the JSP and Facelets better?
[Message sent by forum member 'potingwu' (potingwu)]

http://forums.java.net/jive/thread.jspa?messageID=315833