This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
call an action from another module in getRequestDispatcher()?
Cookie maxAge problem
Dynamic jsf content
problem in session tracking inside my request processor....
bookmark not redirecting to login page