GeeCON Prague 2014*
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


JavaRanch » Java Forums » Java » JSF
Bookmark "dynamic navigation" Watch "dynamic navigation" New topic
Author

dynamic navigation

cathymala louis
Ranch Hand

Joined: Nov 02, 2005
Posts: 77
Hi

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.

Thanks,
Amit Nair
Greenhorn

Joined: May 23, 2006
Posts: 16
Hi

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

Regards
Amit
cathymala louis
Ranch Hand

Joined: Nov 02, 2005
Posts: 77
Hi

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.
 
GeeCON Prague 2014
 
subject: dynamic navigation