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?.
This is a very good idea, Leo! Actually we could even go as far as
"forcing" the developer to add a prefix mapping for the
ResourceHandler in a servlet 2.5 environment, and automatically adding
it (if not already present) in a servlet 3.0 environment.
Regards,
Jakob
Am 2. März 2012 06:25 schrieb Leonardo Uribe <lu4242_at_gmail.com>:
> 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/
--
Jakob Korherr
blog: http://www.jakobk.com
twitter: http://twitter.com/jakobkorherr
work: http://www.irian.at