有可能是过滤器配置错误,在web.xml文件中检查一下配置的文件名是不是错了 <filter-class>com.filter.CharacterEncodingFilter</filter-class>