Meaningless Drivel is fun!*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JSF: Save session context to local file
 
Similar Threads
Save File on Client Machine
Redirect after close download box
getOutputStream() has already been called for this response
how to download a zip file
opening the excel sheet from servlet