This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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