In a web.xml url-pattern matcher is there a way to exclude URLs?

前端 未结 4 871
迷失自我
迷失自我 2020-12-13 19:43

I wrote a filter that needs to be invoked every time a url on my site is accessed EXCEPT the CSS, JS, and IMAGE files. So in my definition I\'d like to have something like

4条回答
  •  一整个雨季
    2020-12-13 20:38

    Probably you could declare another "blank" filter for css, js etc, and put it before others filter mapping.

提交回复
热议问题