Thanks for that, but the issue is that it is hard coded and doesn't allow
the flexibility the <forward> tag allows. This flexibility would be
advantageous for a pluggable corporate network.

Stephen.

-----Original Message-----
From: Oliver Reflé [mailto:[EMAIL PROTECTED]]
Sent: 14 February 2002 13:39
To: Struts Users Mailing List
Subject: AW: Help forwarding from one site to another.


i would insert in the action code
response.sendRedirect("www.slashdot.org");

cause struts takes all addresses in the struts-config.xml
as they are in the same context. This would be the easiest way
to implement it. Maybe you can also achieve it with the RequestUtils of
Struts, but that i don*t know

Oliver
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 14. Februar 2002 14:33
An: [EMAIL PROTECTED]
Betreff: Help forwarding from one site to another.


Hello all,

Upon a successful response from an action class I would like to forward to a
different site. I have tried adding <forward name="success"
path="http://www.slashdot.org/"; /> to my struts-config.xml, but it fails.

Is there a nice way of achieving this?

Thanks.

Stephen.


----------------------------------------------------------------------------
---------------

Copyright material and/or confidential and/or privileged information may be
contained in this e-mail and any attached documents.  The material and
information is intended for the use of the intended addressee only.  If you
are not the intended addressee, or the person responsible for delivering it
to the intended addressee, you may not copy, disclose, distribute,
disseminate or deliver it to anyone else or use it in any unauthorised
manner or take or omit to take any action in reliance on it. To do so is
prohibited and may be unlawful.   The views expressed in this e-mail may not
be official policy but the personal views of the originator.  If you receive
this e-mail in error, please advise the sender immediately by using the
reply facility in your e-mail software, or contact [EMAIL PROTECTED]
Please also delete this e-mail and all documents attached immediately.
Many thanks for your co-operation.

BMW Financial Services (GB) Limited is registered in England and Wales under
company number 01288537.
Registered Offices : Europa House, Bartley Way, Hook, Hants, RG27 9UF
----------------------------------------------------------------------------
--------------

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


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

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

Reply via email to