struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Moore <j...@jmsd.co.uk>
Subject Re: Forward after returning content?
Date Tue, 11 May 2004 17:33:18 GMT
Niall Pemberton wrote:

>I don't believe you can (although I would be interested if there was a way).
>How about doing it the other way round, forward to your page with the
>instructions on and use the meta refresh tag to redirect to your download
>action. Something like this:
>
><html>
>  <head>
>      <title>Download Page</title>
>      <meta http-equiv="refresh" content="0;
>URL='myContext/myFileDownload.do'">
>  </head>
>  <body>
>
>     <p>If download does not start with 30 seconds click <a
>href="'myContext/myFileDownload.do'">HERE</a></p>
>
>     <h1>Instructions</h1>
>
>     <p>When the download has completed then.....</p>
>
>
> </body>
></html>
>
>  
>
Neat! Yes, this is the way. Thanks Niall and Robert too.

John

=============================================
John Moore     -    Norwich, UK    -    john@jmsd.co.uk
=============================================

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


Mime
View raw message