想做个参数过滤功能,如何修改,或者其他实现方式
ServletExcludeHadler类
在HttpServletRequestWrapper类里重写了getParameterMap
现在报错
java.lang.ClassCastException: org.apache.catalina.util.ParameterMap cannot be cast to java.util.HashMap
at com.common.handler.HttpServletRequestWrapper.getParameterMap(HttpServletRequestWrapper.java:38)
at com.jfinal.core.Injector.injectModel(Injector.java:102)
at com.jfinal.core.Injector.injectModel(Injector.java:44)
at com.jfinal.core.Controller.getModel(Controller.java:691)