Saving JSP output to a file
843835Feb 20 2002 — edited Sep 22 2007
I need to be able to save what a user sees on his browser, to a local file (where the web app runs).
The content is dynamic. It is being created using a JSP.
One way to write it to a local file would be to move the content creation from a JSP to a servlet and write to the HTTP response as well as to a file in the servlet.
That's going to make it look messy.
Any thoughts on how I could make this happen while continuing to use a JSP?