[jira] [Commented] (FELIX-1651) Support * in servlet registrations

2014-05-28 Thread Carsten Ziegeler (JIRA)

[ 
https://issues.apache.org/jira/browse/FELIX-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14010979#comment-14010979
 ] 

Carsten Ziegeler commented on FELIX-1651:
-

While RFC-189 will support regexp for filters, it won't support it for 
servlets. The main reason is ordering or answering the question which servlets 
should service the request if more than one matches. With the patterns from the 
servlet api, this can be easily answered as simply the longest matching pattern 
wins. With regexp you loose this functionality and things like "the longest 
regexp pattern wins" don't make that much sense. For filters this is a 
different thing, as all matching filters are invoked.

> 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.2#6252)


[jira] [Commented] (FELIX-1651) Support * in servlet registrations

2014-02-12 Thread J.W. Janssen (JIRA)

[ 
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)


[jira] Commented: (FELIX-1651) Support * in servlet registrations

2011-01-08 Thread Felix Meschberger (JIRA)

[ 
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.



[jira] Commented: (FELIX-1651) Support * in servlet registrations

2009-09-28 Thread Sten Roger Sandvik (JIRA)

[ 
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.