File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Soft Skills this week in the Jobs Discussion 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF: Save session context to local file