Migrating from JSP to Facelets
gezieferJan 26 2011 — edited Jan 26 2011Hello,
we have an old application based on JSPs which we like to migrate to JSF and Facelets.
For a phase 1 we decided to leave the JSPs as untouched as possible, but establish the use of JSF and the Facelet templating mechanism.
So the question is, how can we keep the content of the JSP page for a first step and use that within a part of the template, e.g. the ui-composition "content"?
I found some articles about the general transition to Facelets, but I have problems with the details, especially, how to deal with all that Java-Code within <% ... %> blocks?
Thanks in advance,
Geziefer