解决方法
子类
HttpServletRequestWrapper
并覆盖getParameter方法.这个类的描述如下:
Provides a convenient implementation of the HttpServletRequest interface that can be subclassed by developers wishing to adapt the request to a Servlet.
在过滤器中,将请求包装在您的子类的实例中.