You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Sten Roger Sandvik (JIRA)" <ji...@apache.org> on 2009/09/28 23:15:16 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=12760385#action_12760385 ]
Sten Roger Sandvik commented on FELIX-1651:
-------------------------------------------
Yes, right now filters support regexp wildcard matching, but not servlets. It's a little more complicated on servlets since we need to calculate the servlet path, but it's possible. Will look into this right after the first initial release.
> 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.0
> 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.