GeeCON Prague 2014*
The moose likes Servlets and the fly likes JSP Caching problem...... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP Caching problem......" Watch "JSP Caching problem......" New topic
Author

JSP Caching problem......

amit ang
Ranch Hand

Joined: Sep 28, 2001
Posts: 38
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

Joined: Sep 28, 2001
Posts: 38
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
 
GeeCON Prague 2014
 
subject: JSP Caching problem......