• Post Reply Bookmark Topic Watch Topic
  • New Topic

getting the response stream from jsp include

 
Kaustubh Patil
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a requirement of caching all the HTML. For this I am appending all the jsp's HTML output in a StringBuffer. I also have some include jsp tags on my main view.
How do I get the output generated by the include jsp's as a String and put in a buffer ?
I thought about using the include method of servlet and messing around with its response and request objects , but do not know if its a good idea...

Any comments or help ??

KP
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!