摘要:
过滤器的名字过滤器的路径(servlet) RejectedlP//过滤器初始化参数名RejectedlP 192.168.12.*/param-value>必须和上面的过滤器名字一致/course.htmpublic class CourseCheckFilter implements Filter { private Logger log=Logger.getLogger(this.getClass());public void destroy() { }@Overridepublic void doFilter(ServletRequest request, ServletResp 阅读全文
摘要:
String strAllImp= " [{"id":2,"name":"还不错","count":3}]";JSONArray arr = new JSONArray();if(StringUtils.isNotEmpty(strAllImp)){arr = JSONArray.fromObject(strAllImp);}for(int i=0;i<arr.size();i++){JSONObject obj = arr.getJSONObject(i);int jsonId = ob 阅读全文