JSP web applications often have to use the following page instruction for setting charset encoding. The pageEncoding attribute defines the charset encoding of the response, which will be send to the browser client. The contentType attribute includes the content type and the encoding of the content writer (see Servlet specification).
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
But this solution isn't very favoured. Because you have to set in every JSP page this instruction. A more central solution would be have more advantages.
This problems can be solved by using the CharacterEncodingFilter, which enables an automatic way of setting the character encoding in HttpServletRequests. You have only to add the filter configuration in your web.xml file.
encodingFilter org.springframework.web.filter.CharacterEncodingFilter encoding UTF-8 forceEncoding true encodingFilter /*
Regards
Rafael Sobek

Hi
This filter is for incoming request only, not for outgoing response (the jsp page is a response).
Regards