1 Reply Latest reply on Apr 22, 2009 10:10 PM by Mike K

    session expires and exception is caught by the general exception class

    Aristi memmou Newbie

      i have the following problem.
      when session has timed out and i click a button i get an exception that the user object is null.this happens i suppose because my session has expires.the problem is that the exception is not caught by the exception class javax.faces.application.ViewExpiredException in my pages.xml but by the general exception.how can i overcome this problem.when the session times out or expires i want the user to be redirected to the login page.



      thank you in advance