This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes navigation rules are not working... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "navigation rules are not working..." Watch "navigation rules are not working..." New topic
Author

navigation rules are not working...

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
These are the files:



Now, when I access test.faces, I can see my test.jsp file.

When I give any input less than 3 or greater than 15, it shows validation error. So for good.

But when I give valid input, it goes to the login() method of LoginBean class, I can see 'success' and 'failure' depending on the input, on console, but can't see the next page (means, navigation rules defined in faces-config.xml are not working...)

What could be the reason??

Thanks a lot.
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
I got it working. It was very silly mistake. I was not specifying correct path of JSPs in faces-config.xml.
 
jQuery in Action, 2nd edition
 
subject: navigation rules are not working...
 
Similar Threads
commandLink param problem
java.lang.IllegalStateException: using sendRedirect()
In which order check if some attribute doesn't work
Field display problem
New to JSF..Please help