aspose file tools*
The moose likes JSF and the fly likes JSF: Save session context to local file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF: Save session context to local file" Watch "JSF: Save session context to local file" New topic
Author

JSF: Save session context to local file

Knolf Moervenson
Greenhorn

Joined: Jul 25, 2008
Posts: 12
Hi!
I am trying to write a method for saving session context to a local file, getting the save-as-dialog.
Creating an Excel file containing the SessionContext is no problem (using HSSF excel workbench).

The problem is to get that FileOutputStream to a ServletOutputStream, so that I can stream the content to a local file. I tried that code, but it does not work.


any ideas? would be great.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF: Save session context to local file
 
Similar Threads
opening the excel sheet from servlet
Redirect after close download box
getOutputStream() has already been called for this response
Save File on Client Machine
how to download a zip file