Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
http-2.0.2
-
None
Description
At the moment it is only possible to register servlets with aliases like / or /some/path. Registering servlets with a wildcard alias (i.e. *.jpg or *.jsp) is supported yet.
I think it would make sense to support wildcards in servlet mappings.
I have also noticed, that filter mappings do support regular expressions in aliases, it might make sense to support regular expressions in servlet mappings as well (all though it is a little bit confusing to see that /test/* does not match /test/hello.txt in filter mappings, but i still prefer using regular expressions over the limited wildcard support in standard jee servlet mappings).