Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to persist the JSP produced output to a file without using the browser i.e I want  RSS feed

 
kiran krishna
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to persist the JSP produced output to a file without using the browser i.e I want to save the produced output from a JSP page to a file from a program.
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kirangkp
Welcome to the Java Ranch, we hope you�ll enjoy visiting as a regular however,
your name is not in keeping with our naming policy here at the ranch. Please change your display name to an appropriate name as shown in the policy.
Thanks again and we hope to see you around the ranch!!
 
Sean MacLean
author
Ranch Hand
Posts: 621
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use a servlet to call the jsp using an HttpURLConnection, capture the response and then write this to disc.
i.e.

This is just off the top of my head and isn't intended to compile.
Sean
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!