struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From G√ľnther Wieser <gwie...@creative-it.com>
Subject RE: How can I forward from an Action to a URL outside application
Date Thu, 03 Mar 2005 17:39:45 GMT
tell us more! 

how did you do it?

-----Original Message-----
From: Jim Theodoridis [mailto:struts@tera.gr] 
Sent: Thursday, March 03, 2005 6:41 PM
To: Struts Users Mailing List
Subject: Re: How can I forward from an Action to a URL outside application

Sorry.

It is so simply i found it.

Jim Theodoridis wrote:

> Hi
>
> I want to forward from an action to a url outside the application I am 
> having the followin entry at struts-config.xml
>
>      <action  path="/farmacy"
>        type="gr.tera.teramobile.actions.FarmacyAction">
>        <forward name="success" path="http://www.tera.gr"/>
>    </action>
>
> by i am getting the error
>
> java.lang.IllegalArgumentException: Path www.tera.gr does not start 
> with a "/" character
>     
> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.j
> ava:1062)
>
>
> ............................................
>
> Is there any way to do this?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message