aspose file tools*
The moose likes JSF and the fly likes Redirect on load page if user not logged - help needed !!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Redirect on load page if user not logged - help needed !!!" Watch "Redirect on load page if user not logged - help needed !!!" New topic
Author

Redirect on load page if user not logged - help needed !!!

Mat Sergino
Greenhorn

Joined: Dec 04, 2008
Posts: 3
Hello,

I have a problem with writing a code in JSF ... I would like to redirect users on one of my pages when the are not logged in.
To achieve it I made a page with:

loginBean - it's a session bean in my application

I've also written a getIfLogged method:


I receive the following exception when I try to execute the page:


Any suggestion?

[ December 04, 2008: Message edited by: Mat Sergino ]
[ December 04, 2008: Message edited by: Mat Sergino ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Redirect on load page if user not logged - help needed !!!
 
Similar Threads
Dynamic jsf content
problem in session tracking inside my request processor....
call an action from another module in getRequestDispatcher()?
bookmark not redirecting to login page
Cookie maxAge problem