aspose file tools*
The moose likes JSF and the fly likes Navigation accross two different web application!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Navigation accross two different web application!!" Watch "Navigation accross two different web application!!" New topic
Author

Navigation accross two different web application!!

Prabhat Gupta
Ranch Hand

Joined: Jan 22, 2008
Posts: 135
Hi All,

In JSF we can define the navigation rule for navigation inside the same web application using tag <navigation-rule> </navigation-rule> .

<navigation-rule>
<from-view-id>/pages/*</from-view-id>
<navigation-case>
<from-action>#{GetNameBean.helloAction}</from-action>
<from-outcome>sayHello</from-outcome>
<to-view-id>/b.jsp</to-view-id>
</navigation-case>
</navigation-rule>

Here the b.jsp is inside the some web application Application_B .

My question is if two web application Application_B and Application_C both are deployed in web container then how can i navigate from a jsp of one application to jsp of other web application ?

One solution is that combined both B and C as a single application and write navigation rule. But i have to keep them two different web application.

any suggestions regarding this are highly welcomed


Regards,

Prabhat
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
You cannot.

Best what you can do it so use h:outputLink with a plain vanilla URL.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Navigation accross two different web application!!
 
Similar Threads
faces-config + /WEB-INF/jspf Question
On a button click need to load a select one menu
EL in views and outcomes?
navigation issue
PhaseListener?