File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
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://aspose.com/file-tools
 
subject: Save jsp page