I have an jsf 1.2 web application and I want to transform it to jsf 2.0 web application.
My question is how can I replace the following code
<jsp:forward page="login.jsp" />
with jsf 2.0 - like
Thanks for your help
Actually, I could rant long and hard on user-designed security systems. And I have. But the short answer is that it's usually better to use the Security that's built into the J2EE specificaton.
If you do that, you can define security protections for whatever URLs you want as entries in the web.xml file and not need any code on the JSF page. Or JSP pages either. Even non-JSF JSPs and servlets!
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Sep 23, 2010
But the main reason I had decided to transform my project was jsf2.0's ajax support. So I'm looking for solution that would be as simple as possible just to make my application work.