This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP Caching problem......
 
Similar Threads
remove the data from cache
Caching Problem in JSP ... Please help
How to refresh a jsp page
need caching
How to refresh a jsp page