Check in Filter if a HTTP request is for an actual file or to a servlet path

前端 未结 0 495
故里飘歌
故里飘歌 2021-01-18 04:58

Is there a way to check if an http GET request is for an existing static file or to a servlet path, inside a Filter.doFilter() method? Mainly, I want to cache static files (

相关标签:
回答
  • 消灭零回复
提交回复
热议问题