aspose file tools*
The moose likes Struts and the fly likes how to route request from one application to another in Struts ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to route request from one application to another in Struts ?" Watch "how to route request from one application to another in Struts ?" New topic
Author

how to route request from one application to another in Struts ?

Pashmina Suvarnakar
Greenhorn

Joined: Nov 15, 2006
Posts: 1
Hi,


How to route request from one application to another in Struts ? I have 2 different ears deployed in two different machines but same domain. I am trying to call .do of another ear from 1st ear using dummy jsp in an IFrame with complete url e.g. http://172.25.182.134:9080/century21Web/Prospect.do?QuoteGroupID=5004081.

However this approach is not working and it is giving me page not found error. The Host address in WSAD server is also 172.25.182.134 and not localhost. Also I am able to login to the second application from other browser.

Is there any other approach to do this or Am I doing some thing wrong.

I would appreciate your response.

Regards,

Pashmina
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
There's no reasn you can't call another application on the same server in an IFrame as long as you give the complete URL. There has to be something wrong with the way you're doing it. Post the code if you want help debugging it.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to route request from one application to another in Struts ?