Encoding problem using Spring MVC

前端 未结 6 1139
北海茫月
北海茫月 2020-12-10 12:56

I have a demo web application that creates users. When I try to insert data in other languages (like french) the characters are not encoded correctly. The code on the contr

6条回答
  •  无人及你
    2020-12-10 13:30

    Try making CharacterEncodingFilter the first filter in web.xml.

    I realize this question is a little old, but I just ran into the same problem, and moving CharacterEncodingFilter fixed it for me.

提交回复
热议问题