You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Yan, Charlene" <Ch...@thomsonlearning.com> on 2003/05/07 15:33:48 UTC

mapping.actionForward to an absolute url / servlet chaining

All,

I need to forward to another web application form an action.  What is the correct configuration for that?  For example,
Instead of <forward name="setEmailAddress" path="/setEmailAddress.jsp" />, I would like to have <forward name="setEmailAddress" path=" http://www.yahoo.com" />.  The above format does not work of course.  Anyone knows the correct way to do it?

Thanks.

Charlene


RE: mapping.actionForward to an absolute url / servlet chaining

Posted by Joseph Yang <ya...@rewardstream.com>.
I had the same thing in my project, I am not sure what I did was the correct
way, which was:

make an empty page, e.g., call it bye.jsp, there is nothing but the
javascript to open the website you are pointing to, then put path="/bye.jsp"

It's kind of wired, but I don't know other ways...

-----Original Message-----
From: Yan, Charlene [mailto:Charlene.Yan@thomsonlearning.com]
Sent: Wednesday, May 07, 2003 6:34 AM
To: Struts Users Mailing List
Subject: mapping.actionForward to an absolute url / servlet chaining


All,

I need to forward to another web application form an action.  What is the
correct configuration for that?  For example,
Instead of <forward name="setEmailAddress" path="/setEmailAddress.jsp" />, I
would like to have <forward name="setEmailAddress" path="
http://www.yahoo.com" />.  The above format does not work of course.  Anyone
knows the correct way to do it?

Thanks.

Charlene