It looks like your web.xml is missing some parameters.

Those lines you see are about that. See the examples
from myfaces for those configurations on the web.xml
file.

Also, one of the possible reasons you are not seeing
anything is related to the configuration of the
extensionFilter.

In order to be able to use the resources of some
myFaces componentes - Calendar, Tree, etc - which may
consist of several pictures, javascript, etc , the
extensionFilter must be configured to be mapped to
/faces/*, since these resources are mapped to a
/faces/  directory. So the config would be:

    <filter-mapping>
        <filter-name>extensionsFilter</filter-name>
        <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>extensionsFilter</filter-name>
        <url-pattern>/faces/*</url-pattern>
    </filter-mapping>

Without the /faces/* mapping, the page would not
render. 

I have only made to work with the myfaces
implementation. I am not using SUN RI. So i do use
org.apache.myfaces.webapp.StartupServletContextListener

Hope this could help.

Regards, 

Guilherme Gomes


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to