Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF: Save session context to local file  RSS feed

 
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!