File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes dynamic navigation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "dynamic navigation" Watch "dynamic navigation" New topic

dynamic navigation

cathymala louis
Ranch Hand

Joined: Nov 02, 2005
Posts: 77

My problem is I have to call servlet during dynamic navigation to the jsf page.

The navigation didn't accepting the servlet path. Is there is any work around way available.

Any pointers towards this is really helpful.

Amit Nair

Joined: May 23, 2006
Posts: 16

Could you elabrate the exact scenario, as I am also having something similar

cathymala louis
Ranch Hand

Joined: Nov 02, 2005
Posts: 77

I am having a jsf page say File1.jsp, in which I have a command link, once I click that command link it does some process. Once this page is success it has to go and call the servlet say PDFServlet(which does some processing to display my image). I can't able to give the servlet path during dynamic navigation in jsf page against success. What shall I do. Please help me with this.

The solution I tried was

1. I made the jsf page to call another dummy jsp page which intern calls the servlet using java script. This solution is working good. But when the user clicks the back button it again displays the servlet page since the java script is executed in the dummy page. I even tried to use History.go(-2). But it didn't work.

Any pointers really a great help.
I agree. Here's the link:
subject: dynamic navigation
It's not a secret anymore!