struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Theodoridis <str...@tera.gr>
Subject How can I forward from an Action to a URL outside application
Date Thu, 03 Mar 2005 17:32:38 GMT
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.java: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


Mime
View raw message