Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in navigation rule

 
Yahya Arshad
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am having a problem i have a login page (index.jsp) there i used htmlCommandLink which have an action attribute (register)
but when i click the page it just reload same page instead of sending to registration page. here is


index.jsp == http://localhost:8080/OnlineLibrary/pages/reader/index.jsf
in eclipse it is giving that register out come is not found but i have write out come for this i dont know why it showing this


here is my faces-config



please help me to findout why it is problem another thing the "registration.jsp" is in the same folder as index.jsp.. thanks in advance

 
leo donahue
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yahya Arshad wrote:please help me to findout why it is problem another thing the "registration.jsp" is in the same folder as index.jsp.. thanks in advance

Try this:

If a navigation rule does not match, the current page is redisplayed.
 
Yahya Arshad
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you wrote from-view-id /index.jsp to-view-id /registration.jsp
but my page is not in the root it is in the folder pages/reader/index.jsp and pages/reader/registration.jsp respectively

any way i also tried your path too but no change happend
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic