Paul,
You can do this in your struts-config.xml
 <forward name="someRedirectName" path="http://www.someWebsite.com";
redirect="true"/>

note the redirect="true" attribute

or do a
response.sendRedirect("http://www.someWebsite.com";);

and then return null to Struts instead of an ActionForward in your action.

Regards,

Richard


-----Original Message-----
From: Paul Wallace [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 08, 2004 4:22 PM
To: [EMAIL PROTECTED]
Subject: mapping.findForward





Hi,
    I am having trouble, after my action forwarding to a fully formed www
URL. I am told by error message that all forwards defined in
struts-config.xml must precede with a '/'.

Fine. Except if I want to forward to a www URL the server complains
(unceremonious error message).

How may I pass control from an Action to an external www URL please?

thanks

Paul Wallace
ESRI Australia

snippet:

<action name="InvalidateAllAction" path="/invalidate"
type="my.package.struts.InvalidateAllAction">
    <forward name="aval" path="http://www.wwwaddress.com"; />


Delivering GIS Solutions everyday
__________________________________________________________________________
This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient, please
delete it and notify the sender.
__________________________________________________________________________



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to