• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Enable icon once download request is processed.

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic