使用spring拦截器与自定义注解进行登陆拦截

1.依赖:html <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> </dependency>   2.自定义注解:web @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME)
相关文章
相关标签/搜索