File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Pashmina Suvarnakar
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic