I am writing a filter to do a specific task but I am unable to set a specific url pattern to my filter. My filter mapping is as follows:
in web.xml for servlet mapping , You can apply wildcard only at the start or the end, if you try to apply the wildcard in between the mapping will not be picked.
web.xml
start
end