I have a problem with accented characters in the log of my web application, the econding is set well with jboss 5.1 in server.xml so URIEncoding = "UTF-8" useBodyEncodingForURI = "true" and in the application web.xml so
in all my applications I set the encoding <% @ page language = "java" contentType = "text / html; charset = UTF-8" pageEncoding = "UTF-8"%> in all parts of application of special and accented characters are recognized, but the accented characters in user login or password is not encrypted and the login is not working well, for the login i use spring security with <security:authentication-provider> <security:jdbc-user-service, does anyone know how to help me? thanksCode:<filter> <filter-name>encodingFilter</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> <init-param> <param-name>encoding</param-name> <param-value>UTF-8</param-value> </init-param> <init-param> <param-name>forceEncoding</param-name> <param-value>true</param-value> </init-param> </filter> <filter-mapping> <filter-name>encodingFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>


Reply With Quote