java - Struts2: Download File + WaitAndExecute -


i have little problem:

i have action configured 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 , not remain on waitpage.

thanks!

you can not when file downloaded. can add meta refresh wait page.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -