• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF: Save session context to local file

 
Knolf Moervenson
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic