Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Mat Sergino
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic