top-image

Tag archives for filter

Java/Web: Set cache control in response with Http Filter (HttpCacheFilter)
Hi, The purpose of this paper is to evaluate solutions to manage the browser cache at the application level, using the HTTP headers. This post will start with some explanations concerning the cache in client-server exchanges, then simple examples, and finally with a solution based on http filter allowing the activation of caching on the browser side in order to reduce ...more»
Java/Web: GZIP compression with Http Filter, GZIPFilter, GZIPResponseStream, GZIPResponseWrapper
Hi, The bandwidth is an important concern of the production management of a website. A recognized method of all browsers and systems to drastically reduce the bandwidth usage is the Zip compression of data sent on the fly, decompressed without loss and displayed by the browser. In this article, we will discuss about the configuration of gzip compression in the client-server ...more»
Spring: Web Application – Spring MVC and UTF-8 Encoding with CharacterEncodingFilter
In the web based application, it is necessary to encode the incoming request and outgoing response in UTF-8 in order to have a application compliant with all characters. It exists a http filter to set the contentType attribute including the content type and the encoding of the content writer (see Servlet specification). The CharacterEncodingFilter class provided by Spring enables an automatic ...more»
bottom-img
Copyright ® 2012 Huseyin Ozveren. No reproduction, even partial, can be used from this site and all its contents including text, documents, images, etc.. without the express permission of the author.