0 Replies Latest reply on Nov 30, 2010 3:08 AM by Muneeswaran Balasubramanian

    When Managed Bean creates and property of the beans creates?

    Muneeswaran Balasubramanian Newbie

      Hi to all,

      In our application we use jsf,we have to redirect the user to home page after their session will be expired.For that i need a path of the home page which i kept in my logout managed bean as a managed bean property.But after session expired if i try to access that it will arise null pointer exception(managed bean becomes null).Then i have decide to try alternative (i.e)create logout class manually and try to access the property, at that time the property which i wants to access is become null.How can i access that property? Please help me. Thanks in advance