摘要: /** * 正则表达式工具类 * * @author user * */ public class RegularExpressionUtil { /** * 邮箱正则(只允许后缀名是verizonwireless.com /xposc.com /asurion.com) */ public static final String REGEX_M... 阅读全文
posted @ 2018-08-08 10:41 小鹏代码 阅读(111) 评论(0) 推荐(0) 编辑
摘要: <!-- 开启允许跨域 --> <mvc:cors> <mvc:mapping path="/**"/> </mvc:cors> SpringMVC拦截器 简介: SpringMVC拦截器,类似于Servlet中的filter过滤器,用于进行请求拦截和处理 常见应用场景 1、权限检查:如检测请求是否 阅读全文
posted @ 2018-08-08 10:33 小鹏代码 阅读(458) 评论(0) 推荐(0) 编辑