This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JSP and the fly likes Save jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Save jsp page " Watch "Save jsp page " New topic
Author

Save jsp page

alessandro bresolin
Greenhorn

Joined: Jun 07, 2012
Posts: 3
Hello,
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?

Thanks
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 : http://www.dreamlog.co
Blog : http://pongsakornsemsuwan.wordpress.com
alessandro bresolin
Greenhorn

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