星期二, 5月 29, 2012

JSP Cache Filter

The right way to do it is to create a subclass of HttpServletRequestWrapper, override its getRequestURI()and other methods to return the new URL, and wrap the request with it. So you don't have to change the other filter mappings.


http://onjava.com/pub/a/onjava/2003/11/19/filters.html?page=3
http://www.codeproject.com/Articles/203288/Automatic-JS-CSS-versioning-to-update-browser-cach
https://github.com/h5bp/html5-boilerplate/wiki
http://livingtao.blogspot.com/2012/01/servlet-filter-to-set-response-headers.html

沒有留言:

張貼留言

留個話吧:)

其他你感興趣的文章

Related Posts with Thumbnails