web.xml中对post请求的乱码问题解决

直接在web.xml中添加如下代码:


    encodingFilter
    
           org.springframework.web.filter.CharacterEncodingFilter
    
    
        encoding
        UTF-8
    


    encodingFilter
    /*

  

转载于:https://www.cnblogs.com/suhfj-825/p/7942458.html

你可能感兴趣的:(web.xml中对post请求的乱码问题解决)