Meaningless Drivel is fun!*
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
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!
It is sorta covered in the JavaRanch Style Guide.
subject: Save jsp page
Similar Threads
How to store a value so that any JSP page can read it?
How to display questions in several pages?
Unable to run JSP
save JSP page report a text file
Save a JSP page as Word document