File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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 !!!