what if url pattern matches multiple servlets?
相关标签:
-
2020-12-01 15:36
Check this. In short:
- if the mappings have exactly the same pattern, there is no guarantee which servlet one will be invoked. So avoid that.
- If the patterns are overlapping, the most specific one is picked. (
/abc
is more specific than /*
)