Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

navigation rules are not working...

 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it working. It was very silly mistake. I was not specifying correct path of JSPs in faces-config.xml.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic