Encoding with spring MVC -
I am using Spring MVC to handle my request and I need to send the string to search. For example, I am sending Request parameter: Can anyone help me? web.xml ) : But, it may also depend on your server. There is discussion for Tomcat and refer to the Caçapava , but somewhere it was converting this code, everywhere I was looking for my encoding
UTF-8 . To create my view, I'm using
jackson to manage my JSON and
ExtJs . My request is ok, so the problem is my
ExtJs Not with the request.
query string parameter
_dc: 1363866108143
nomeCidade: Caçapava
page: 1
start: 0
Limit: 50
& lt; Filter & gt; & Lt; Filter-name & gt; CharacterEncodingFilter & lt; / Filter-name & gt; & Lt; Filter range & gt; Org.springframework.web.filter.CharacterEncodingFilter & lt; / Filter range & gt; & Lt; Init-param & gt; & Lt; Ultimate Name & gt; Encoding & lt; / Lastname & gt; & Lt; Ultimate Price & gt; UTF-8 & lt; / Super-valued & gt; & Lt; / Init-param & gt; & Lt; Init-param & gt; & Lt; Ultimate Name & gt; ForceEncoding & lt; / Lastname & gt; & Lt; Ultimate Price & gt; True & lt; / Super-valued & gt; & Lt; / Init-param & gt; & Lt; / Filter & gt; & Lt; Filter-mapping & gt; & Lt; Filter-name & gt; CharacterEncodingFilter & lt; / Filter-name & gt; & Lt; URL pattern & gt; / * & Lt; / URL pattern & gt; & Lt; / Filter-mapping & gt;
URIEncoding parameter.
Comments
Post a Comment