File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Referring External application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Referring External application" Watch "Referring External application" New topic

Referring External application

Parameswaran Thangavel
Ranch Hand

Joined: Mar 01, 2005
Posts: 485
hi all
i am using struts framework for my project and i need to refer to an other webapplication running in remote app server. so how can i refer to that web application....
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Just create a forward and in the path specify the full URL of a page on the other website including the "http://" and specify redirect="true". Then just find the forward with mapping.findForward("myForward") and return the forward from the execute() method of an Action class.

Consultant, Sima Solutions
I agree. Here's the link:
subject: Referring External application
It's not a secret anymore!