aspose file tools*
The moose likes Struts and the fly likes Enable icon once download request is processed. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Enable icon once download request is processed." Watch "Enable icon once download request is processed." New topic
Author

Enable icon once download request is processed.

Amit Ghai
Ranch Hand

Joined: Mar 24, 2004
Posts: 35
Hi All,

I have an icon for excel download on a jsp page. On clicking the icon I disable the icon and a request is made to a struts action to create an excel using HSSF. The content disposition is set as attachment with a filename and the bytes of the HSSFWorkbook is written to the response. The action forward returned is null. I want to enable the icon once the struts action has performed the creation and writing bytes to response. Is there a way to inform the jsp with the icon that the request for the excel generation has been completed and a dialog box has been opened for save/open excel? I need this so as to enable back the icon.

Thanks,
Amit


Reasonable people adapt themselves to the world. Unreasonable people attempt to adapt the world to themselves. All progress, therefore, depends on unreasonable people.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Enable icon once download request is processed.