File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Save jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Save jsp page " Watch "Save jsp page " New topic

Save jsp page

alessandro bresolin

Joined: Jun 07, 2012
Posts: 3
i have a jsp page and its content comes from database dynamically. I need to automatically save the displayed page as html file to a folder in my server every time the page is loaded.
Can anyone help me?

Pongsakorn Semsuwan
Ranch Hand

Joined: May 15, 2011
Posts: 34

How about having AJAX call when page is loaded.
Send the entire content as a parameter.
Have Servlet write it to file.

A web application developer wannabe from Thailand
My StartUp :
Blog :
alessandro bresolin

Joined: Jun 07, 2012
Posts: 3
Ok, thank you!
I agree. Here's the link:
subject: Save jsp page
Similar Threads
Unable to run JSP
Save a JSP page as Word document
save JSP page report a text file
How to store a value so that any JSP page can read it?
How to display questions in several pages?