我的服务器上部署了许多 Servlet。
e.g.
servlet1
servlet2
我也有过滤器:过滤器,带有 url 模式"/*"
。
Filter catches all requests like localhost:8080/something except these ones localhost:8080/servlet1,localhost:8080/servlet2.
我的问题如下:我应该如何配置过滤器来捕获对所有 Servlet 的所有请求?
提前致谢。