Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dynamic navigation

 
cathymala louis
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

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

Regards
Amit
 
cathymala louis
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic