tags:

views:

28

answers:

1

Hi at all

I have a little problem:

I have a action configured with these params:

<action name="exportCSV" class="it.asd.ExportAction">
    <interceptor-ref name="defaultLoginStack" />
    <interceptor-ref name="execAndWait"/>
         <result name="success" type="stream">
             <param name="contentType">application/x-zip-compressed</param>
             <param name="inputName">fileStream</param>
             <param name="contentDisposition">attachment;filename="${filename}"</param>
             <param name="bufferSize">2048</param>
         </result>
         <result name="wait" type="tiles">waitPage</result>

      <result name="error" type="redirectAction" >visualizzaasd</result>
    </action>

I want that, after downloading, page returns to another and not remain on the waitpage.

Thanks!

A: 

You can not now when the file was downloaded. You can add meta refresh to your wait page.

Trick
Has already been added, because the jsp don't retrieve when file is ready.
Luigi 1982
So - is this finished or not?
Trick
yes is finished. I want to go to a success page. I've tried a result without name... a global result. With this solution I see the wait page and success page, but the alert for the download don't appear...
Luigi 1982