To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
Hi, I'm using Vaadin 6.7.4 and GateIn 3.2.0 with JBoss AS6
I'm trying to use StreamResource to download an excel file, here is the code:
StreamResource streamResource =newStreamResource(streamSource,"report", myApplication);
streamResource.setCacheTime(5000);// no cache (<=0) does not// work with IE8
First, I was using GenericPortlet class to create my vaadin portlet, and the code above used to work pretty well: by clicking the link, the file was downloaded as this URL was called :