We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad3d4c8 commit b04e2a1Copy full SHA for b04e2a1
src/main/java/cn/edu/swu/ffdy/JavaWeb/Filters/AuthFilter.java
@@ -11,7 +11,7 @@
11
import javax.servlet.http.HttpSession;
12
import java.io.IOException;
13
14
-@WebFilter(urlPatterns = "/admin/*")
+@WebFilter("/admin/*")
15
public class AuthFilter extends HttpFilter {
16
public void doFilter(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
17
throws IOException, ServletException {
0 commit comments