Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 20 2007
Added on Feb 20 2002
18 comments
1,540 views