<servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>

<servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.faces </url-pattern>
    </servlet-mapping>

Put in web.xml. map url pattern to your face servlet

On 4/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi, I just want to realize impacts: can Facelets works with MyFace JSF. For
> example:
> I have mapping to *.faces all JSF pages (MyFaces, Tomahawk)
> Want to add mapping to Facelets page like *.jsf
>
>
>
> Are all my *.faces and *.jsf pages will work?
>
> I mean in my faces-config.xml file I have
>
> <faces-config>
>
>
>
>   <application>
>
>     <view-handler>
>
>       com.sun.facelets.FaceletViewHandler
>
>     </view-handler>
>
>   </application>
>
>
>
> Is this view handler will touch my *.faces pages?
>
>
>
> Thanks,
>
> Yura.


--

Anthony Hong

Reply via email to