Hi,
On Tue, Feb 21, 2017 at 3:46 PM, Edward Burns <edward.burns_at_oracle.com>
wrote:
> The above is incorrect according to the desires of Arjan and Mark. I
> have revised the table according to my understanding of the requested
> change. ACTION: Please check this!
>
> URI Path (in quotes) matchValue pattern mappingMatch
> "" "" / CONTEXT_ROOT
> "/MyServlet" MyServlet /MyServlet EXACT
> "/foo.extension" foo /*.extension EXTENSION
> "/path/foo" foo /path/* PATH
>
> If there are any other illustrative rows anyone would like to see in
> this table, please add them in reply to this email.
>
This looks much better already, thanks!
There's a small difference with Tomcat I believe as the matchValues have no
leading slash here, but this may be better actually.
One thing is that for the EXTENSION mappinMatch the pattern shown is
/*.extension, which should likely be *.extension.
On other thing is that for CONTEXT_ROOT the pattern is shown as "/", but
isn't that the pattern for DEFAULT?
At any length, an entry for the DEFAULT mapping would be good to add here
as well.
See also:
http://arjan-tijms.omnifaces.org/2016/04/servlet-40s-mapping-api-previewed-in.html
Kind regards,
Arjan Tijms
>
> Please let me know by COB GMT-0800 Wednesday as I would like to lock
> this down and move on.
>
> Thanks,
>
> Ed
>
> --
> | edward.burns_at_oracle.com | office: +1 407 458 0017
> | 10 business days until planned start of JSF 2.3 Final Approval Ballot
> | 0 business days until DevNexus 2017
> | 25 business days until JavaLand 2017
>
> [1] https://maven.java.net/service/local/repositories/
> snapshots/archive/javax/servlet/javax.servlet-api/4.0.
> 0-b03-SERVLET_SPEC-73-SNAPSHOT/javax.servlet-api-4.
> 0.0-b03-SERVLET_SPEC-73-20170216.222658-3-javadoc.jar/
> !/javax/servlet/http/ServletMapping.html
>