I'm trying to use filter for centain url in Spring. When i use it like this:
registrationBean.addUrlPatterns("/api/user/*");
It's work for all url that starts with "/api/user"
But when i use it like this:
registrationBean.addUrlPatterns("/api/user/*/activate");
It didn't work for "/api/user/607a7244-3db9-429a-89f0-1662da0b0e15/activate"
I checked it on the documentation here,
they said:
* matches zero or more characters
Anyone know why "/api/user/*/activate" not match with "/api/user/607a7244-3db9-429a-89f0-1662da0b0e15/activate"?