You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "J.W. Janssen (JIRA)" <ji...@apache.org> on 2014/02/12 10:06:21 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=13898939#comment-13898939 ] 

J.W. Janssen commented on FELIX-1651:
-------------------------------------

RFC-189 (HTTP service update) addresses this, making this a sub-task.

> Support * in servlet registrations
> ----------------------------------
>
>                 Key: FELIX-1651
>                 URL: https://issues.apache.org/jira/browse/FELIX-1651
>             Project: Felix
>          Issue Type: Sub-task
>          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 was sent by Atlassian JIRA
(v6.1.5#6160)