thanks norman richards for help
i have tried the same thing as told by u but it has some problem

This is my entry in the page.xml
<page view-id="/secretquestions.jsp" 
action="#{SecretQuestionsAction.checkLoggedIn}" />

here is my checkLoggedIn function... 

public String checkLoggedIn(){
        boolean isLoggedIn = sessionContext.get("loggedIn")!=null;
           
         if (isLoggedIn){
            return null;  // Go to secretquestions.jsp.
         }else{
            return "loginpage"; // go to login page.
         }
}

when it returns null it does not open secretquestions.jsp it opens the login 
page.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996649#3996649

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996649
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to