开发者

Role of filter-mapping

I'm trying out Spring and I've met the 开发者_运维百科filter-mapping tag. What is its role when compared to the servlet-mapping tag? Is it executed in the background when the urls are called?


<filter-mapping> specifies when a javax.servlet.Filter is invoked.

Filters are invoked before the servlet they are defined for (you can map a filter to either an URL pattern or to a specific servlet)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜