aspose file tools*
The moose likes JSF and the fly likes problem in navigation rule Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "problem in navigation rule" Watch "problem in navigation rule" New topic
Author

problem in navigation rule

Yahya Arshad
Greenhorn

Joined: May 15, 2011
Posts: 26
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

Joined: Apr 17, 2003
Posts: 327
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.


Thanks, leo
Yahya Arshad
Greenhorn

Joined: May 15, 2011
Posts: 26
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in navigation rule