Hi,
I m using Struts2 (S2), not Struts1. In S2 there is a standard result
called 'stream' for downloading files. I m using that only.
Thanks any way.
Regards,
ManiKanta
Martin wrote:
URL url=new URL(http://www.fubar.com);
string encoded_url = httpServletReponse.encodeRedirectURL(url);
httpServletResponse.sendRedirect(encoded_url);
Is there a reason why you would'nt want to use Struts prescribed
method of
that is return a valid ActionForward via findMapping from
execute() method
actionMapping.findForward("error")
?
Martin-
----- Original Message ----- From: "ManiKanta G"
<[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Wednesday, July 30, 2008 6:16 AM
Subject: Redirect after stream result
Hi,
How can I redirect to another page after stream result. For example
redirecting to another page saying successfully downloaded the file or
adding some action message and redirecting to the same page.
Thanks in advance
Regards,
ManiKanta G
********** DISCLAIMER **********
Information contained and transmitted by this E-MAIL is proprietary to
Sify Limited and is intended for use only by the individual or entity to
which it is addressed, and may contain information that is privileged,
confidential or exempt from disclosure under applicable law. If this
is a
forwarded message, the content of this E-MAIL may not have been sent
with
the authority of the Company. If you are not the intended recipient, an
agent of the intended recipient or a person responsible for
delivering the
information to the named recipient, you are notified that any use,
distribution, transmission, printing, copying or dissemination of this
information in any way or in any manner is strictly prohibited. If
you have
received this communication in error, please delete this mail &
notify us
immediately at [EMAIL PROTECTED]
---------------------------------------------------------------------
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]