1.create a Filter handler class
2.config this Filter in web.xml
Filter is just an enhanced Servlet, it can do pre-handle to request, and do suf-handle to response.
常见应用:权限控制、记录日志
1.create a Filter handler class
2.config this Filter in web.xml
Filter is just an enhanced Servlet, it can do pre-handle to request, and do suf-handle to response.
常见应用:权限控制、记录日志