You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2011/01/09 04:27:45 UTC
[jira] Commented: (FELIX-1651) Support * in servlet registrations
[ https://issues.apache.org/jira/browse/FELIX-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979262#action_12979262 ]
Felix Meschberger commented on FELIX-1651:
------------------------------------------
Actually, this would be an extension of the HttpService specification which calls for what is implemented now. Wild card support is not part of the specification -- for good or for bad...
> Support * in servlet registrations
> ----------------------------------
>
> Key: FELIX-1651
> URL: https://issues.apache.org/jira/browse/FELIX-1651
> Project: Felix
> Issue Type: Improvement
> Components: HTTP Service
> Affects Versions: http-2.0.2
> Reporter: Mirko Tschäni
>
> 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).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.