Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Save jsp page

 
alessandro bresolin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about having AJAX call when page is loaded.
Send the entire content as a parameter.
Have Servlet write it to file.
 
alessandro bresolin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, thank you!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic