jsr369-experts@servlet-spec.java.net

[jsr369-experts] Re: [servlet-spec users] Re: [73-getMapping] PROPOSAL

From: Mark Thomas <markt_at_apache.org>
Date: Fri, 17 Feb 2017 14:47:55 +0000

On 16/02/17 22:41, Edward Burns wrote:
> Hello Volunteers,
>
> Thanks for your patience on this. This reply is culled from reviewing
> the discussion on users_at_servlet-spec as well as on this list. Comments inline.

Just focussing on the differences.

> AT> Calling with http://localhost:8080/servlet4/bla.ext
>
> AT> Prints:
>
> AT> Mapping match:EXTENSION
> AT> Match value:/bla
>
> In my implementation in GlassFish I have this returning /bla.ext.
>
> AT> Pattern:*.ext

My understanding was that the 'Match value' was meant to be what the '*'
was matched with.

> AT> Calling with http://localhost:8080/servlet4/path/bla
>
> AT> Prints:
>
> AT> Mapping match:PATH
> AT> Match value:/bla
>
> GlassFish: /path/bla
>
> AT> Pattern:/path/*

Same as previous point.

Arjan can comment better than I how significant this is. My default
position is to support whichever Arjan prefers.

> ACTION: Please review the API at [1] and comment by close of business
> GMT-0800 Tuesday 21 February.

On my TODO list.

Mark