File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Navigation to Calling Page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Navigation to Calling Page" Watch "Navigation to Calling Page" New topic
Author

Navigation to Calling Page

Aoife Kavanagh
Greenhorn

Joined: Feb 28, 2005
Posts: 16
I'm trying to solve a JSF navigation problem in as clean a manner as possible and I just thought I'd post and see if anybody else has developed or integrated with an existing application that has the same requirement.

Basically there's a JSP page that can be reached in a number of ways from different pages. All it is responsible for doing is retrieving data that is required by the calling page. When that page is left it should return to the calling page. A navigation rule can't be used because, as I said, any one of a number of pages might have called the page. It has been suggested that one approach might be to pass the calling page url on the Request and retrieve that when need to navigate back. But, we reckoned that we can't be the first people to encounter this problem so I was just wondering what other possible solutions might be viable (or if it is possible using JSF config other than via a navigation rule).

Thanks,
Aoife
Ravindra Rawat
Ranch Hand

Joined: Dec 09, 2004
Posts: 34
Hi Aoife,

Instead of a JSP to fetch data, can you use a servlet filter so you won't have to deal with navigation problems. You always request the JSF page you want and data is fetched in the filter.

Regards
Ravindra
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Navigation to Calling Page