[jsr-314-open] FacesServlet declaration in Java EE 6

Andy Schwartz andy.schwartz at oracle.com
Thu Nov 5 07:25:07 EST 2009


This all sounds good to me.  +1 to adding this (with both mappings).

Andy

Pete Muir wrote:
> Hi Matthias,
>
> Yeah, I was being lazy in the email, I meant to ask for feedback on 
> whether it should be a suffix mapping, a prefix mapping or both :-)
>
> I'm no expert on this, but I see no harm in the both option.
>
> On 5 Nov 2009, at 06:50, Matthias Wessendorf wrote:
>
>> Hello friends and /dev/null ...
>>
>> I'd like to see a sentence like that, however I prefer that /faces/* 
>> is present as well.
>> So it should be IMO an "and" ...
>>
>> -Matthias
>>
>> Martin Marinschek wrote:
>>> +1 as well!
>>>
>>> regards,
>>>
>>> Martin
>>>
>>> On 11/5/09, Dan Allen <dan.j.allen at gmail.com> wrote:
>>>
>>>>> "If the JSF container is used in a Servlet 3 (or newer) 
>>>>> environment, it
>>>>> should register an implementation of ServletContainerInitializer 
>>>>> (using
>>>>> Service Providers from the JAR file specification). The
>>>>> ServletContainerInitializer should register the FacesServlet, with 
>>>>> a name
>>>>> of
>>>>> Faces Servlet, if an existing servlet is not yet registered with this
>>>>> name.
>>>>> Furthermore, a suffix mapping of *.jsf [and/or a prefix mapping of
>>>>> /faces/*]
>>>>> should be added."
>>>>>
>>>>>
>>>> Well said. +1 from me.
>>>>
>>>> -Dan
>>>>
>>>> -- 
>>>> Dan Allen
>>>> Senior Software Engineer, Red Hat | Author of Seam in Action
>>>> Registered Linux User #231597
>>>>
>>>> http://mojavelinux.com
>>>> http://mojavelinux.com/seaminaction
>>>> http://www.google.com/profiles/dan.j.allen
>>>>
>>>>
>>>
>>>
>>>
>





More information about the jsr-314-open-mirror mailing list