G
Guy
Hello
I have a servlet which accesses a database table and should display
its content as an Excel sheet.
What I did is using "response.setContentType("application/vnd.ms-excel");"
and then just printing out a HTML table.
This works just fine and produces a nuce Excel sheet which I display
directly on screen (it asks weather I want to save or open it and I
choose open).
The problem is that EXCEL.EXE seems to remain open in the background
and the previous sheet is kept open in memory. So when I try the hwole
thing again with a different table I end up with the same Excel sheet
I had before, over and over again until I logout and back in.
I there a programmatic way to close the previous Excel sheet or flush
the cache ?
Thanks
Guy
I have a servlet which accesses a database table and should display
its content as an Excel sheet.
What I did is using "response.setContentType("application/vnd.ms-excel");"
and then just printing out a HTML table.
This works just fine and produces a nuce Excel sheet which I display
directly on screen (it asks weather I want to save or open it and I
choose open).
The problem is that EXCEL.EXE seems to remain open in the background
and the previous sheet is kept open in memory. So when I try the hwole
thing again with a different table I end up with the same Excel sheet
I had before, over and over again until I logout and back in.
I there a programmatic way to close the previous Excel sheet or flush
the cache ?
Thanks
Guy