Reputation: 1878
I have a set of JSPs under a folder called test and my web content root is app. I would like to set up a filter only for those JSPs under test. I tried using the filter url pattern
/app/test/*
and
/*test/*
Both are not triggering teh filter. Can someone help me in getting the question resolved?
Upvotes: 1
Views: 237
Reputation: 1108722
The URL pattern should not contain the context root. It's already relative to the context root.
Use /test/*
.
<url-pattern>/test/*</url-pattern>
Upvotes: 1