cache « Filter « JSP-Servlet Q&A





1. Enabling browser caching via java    stackoverflow.com

Good day, I am using CacheFilter to filter a certain path to my server (which outputs an image stream to the response stream). And I've configured it in my web.xml ...

2. Servlet filter for browser caching?    stackoverflow.com

Does anyone know how to go about coding a servlet filter that will set cache headers on a response for a given file/content type? I've got an app that serves ...

3. Servlet filter for caching    stackoverflow.com

I'm creating a servlet filter for caching. The idea is to cache the response body to memcached. The response body is generated by (result is a string):

 response.getWriter().print(result);
My question is that, ...

4. Filters and Caching techniques in Servlets    stackoverflow.com

How can we display some message saying that 'Site is down and will be up in specific time' using filters and caching techniques in servlets.

5. Problem regarding <%@ include file=""%> and a Caching Filter    coderanch.com

Hi All, I have a problem here..I include a jsp file using <%@include file="/inc/navigationLinks.jsp"%> in another jsp.Now this navigationLinks.jsp is something like a banner which would appear on every jsp. Now the problem is : Firstly I want to use a cacheing filter which would store this navigationLinks.jsp in the cache for say 1hr. I have tried the below mapping in ...