Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Caching problem......

 
amit ang
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am trying to cache the complete jsp and servlet by using filters.
I am facing the following problem.
When i set url for non-cachemode for sevlet, it returns the output without cache, where for jsp it doesn't.
I have overriden the ServletOutputStream to cache the bytes. If the URL has a parameter for caching.
Is this because the JSPWritter used for out ?
Any ideas ?? Any one have worked on similar thing ?
Regards,
Amit Angarkar
 
amit ang
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Something more to add. I was doing compressing the byte stream of ServletOutputStream. Please refer following link for detail.
http://www.javaworld.com/jw-06-2001/Filters/compress.war
Tried jsp on the same that'snot working. The problem is with g-zip.
Have anyone tried the same ?
Regards,
Amit
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic