SpringMVC+自定义注解实现注解拦截器

目的:经过注解标注该请求须要进行拦截css 1.自定义注解:html     建立名为LoginInterceptor的注解java //生成javadoc时会包含注解 @Documented //做用域 @Target( { ElementType.METHOD, ElementType.TYPE }) //生命周期 @Retention(RetentionPolicy.RUNT
相关文章
相关标签/搜索