LS,

I just made a jsf 1.2 application that has a page called start.jsp. When a
user first enters the site, a phaseListener checks if the user exists in the
context. If not, the user is sent to the login screen. If the user exists,
he is granted access to the site resources.

The problem I am having is this:

- My start page is faces/start.jsp This redirects a new user to
faces/login.jps . All goes well. But when the user is logged in and then he
goes to the root of my webapp (localhost:8080/Site ) then for some reason
the faces context does not get initialized. 

I do see the login page as expected, but the stylesheets are not found, the
links to other pages do not work and this is so, because the path is not
Site/faces/login.jsp as it should be, but it is just Site/

Who can explain why this is happening?
The welcome page is still set to faces/start.jsp. Why is the logged in user
not arriving there? 

MPK
-- 
View this message in context: 
http://www.nabble.com/faces-forewarding-tp25330610p25330610.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to