摘要: 个人理解 就是为了防止在前端输入的数据到了后台发生乱码 直接复制到web.xml里面就可以使用 亲测 能用!!! <!-- 前端过滤器设置字符编码 --> <filter> <filter-name>encoding-filter</filter-name> <filter-class>org.sp 阅读全文
posted @ 2019-04-18 10:02 HaoDi888 阅读(2016) 评论(0) 推荐(1) 编辑
摘要: /** * @author 豪弟 * @param request * @return * @throws IOException */ public final static String getIpAddress(HttpServletRequest request) throws IOExce 阅读全文
posted @ 2019-04-18 08:52 HaoDi888 阅读(1516) 评论(0) 推荐(0) 编辑
摘要: 花语苑 https://www.cnblogs.com/zrui-xyu/p/5039551.html 大佬的方法非常适合用 阅读全文
posted @ 2019-04-18 08:49 HaoDi888 阅读(165) 评论(0) 推荐(0) 编辑