Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Referring External application

 
Parameswaran Thangavel
Ranch Hand
Posts: 485
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic