hi, how can i redirect a page to another page recording to a method result? i want the user not to be able to access an unauthorized page. i want, when the user try to access an unauthorized page, program redirects him/her to login.jsp. i have done something like this:
<navigation-rule> <from-view-id>*</from-view-id> <navigation-case> <from-action>#{userBean.result}</from-action> <from-outcome>notallowed</from-outcome> <to-view-id>/login.jsp</to-view-id> </navigation-case> </navigation-rule> i write /project/securedpage.jsp in the browser address bar and i can see that page. what should i do? i ask everything here. thanks very much for reading the posts and for the answers. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---