• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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

 
Greenhorn
Posts: 1
  • 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
 
Ranch Hand
Posts: 4864
  • 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.
 
We can fix it! We just need some baling wire, some WD-40, a bit of duct tape and this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic