File Download start event in Struts
问题 In my struts application, a user can download a file from the server. I want to show a spinner during the time between the button click (to initiate the download) and file is ready to download. Is there an event which is triggered when the file starts to download? I assume it would be some sort of page load event. This is the section from my struts xml: <action name="getFile" method="getFile" class="foo.pack.TAction"> <result name="success" type="stream"> <param name="contentType">application