I have been considering moving to Facelets. I have studied it and like what I see. One problem I see is how to port my JSP code into Facelets. By this I mean, in some of my pages, I have JSP code
<jsp:useBean id="foo" class="com.myapp.bean.fooClass" scope="session" />
<%
if (!foo.isLoaded())
{
response.sendRedirect("login.jsf");
}
%>
Does anyone know how you might port this? I am open to design changes
as well.
Thanks!

