jsr344-experts@javaserverfaces-spec-public.java.net

[jsr344-experts] Re: [947-RelativeResources] Jakob Korherr: please break my sample

From: Leonardo Uribe <lu4242_at_gmail.com>
Date: Fri, 2 Mar 2012 00:25:15 -0500

Hi

In theory with servlet 3.0, use prefix mapping only to handle resource
shouldn't be a problem, because you can register it automatically. For
example, if you are using suffix mapping, shouldn't be valid to
register /javax.faces.resource as prefix mapping? It sounds limiting
but only for servlet 2.5, but isn't just add some few lines on web.xml
only in that case so difficult?.

By the previous reasons, I agree with Jakob.

regards,

Leonardo Uribe

2012/3/1 Edward Burns <edward.burns_at_oracle.com>:
>>>>>> On Wed, 29 Feb 2012 23:55:48 +0200, Ça said:
>
> CC> Using only prefix mapping sounds limiting. Frankly #{resource} does
> CC> the job for me.
>
> Thanks for weighing in!  It works for me too.  But there has been enough
> of a hue and cry for relative resources that I must respond with a
> feature.
>
> Ed
> --
> | edward.burns_at_oracle.com | office: +1 407 458 0017
> | homepage:               | http://ridingthecrest.com/