[Jsf Trinidad & Tomcat 5.5.23] Problème avec un des exemples fournis.
Bonjour,
J'ai déployé les deux exemples de la fondation apache concernant les composants trinidad. Il y a deux applications mais la "blank" ne marche pas. Je ne vois pas pourquoi ca ne fonctionne pas sachant que l'autre marche très bien ! Voici les noms des war :
trinidad-blank-1.0.0-incubating.war
trinidad-demo-1.0.0-incubating.war
Donc si quelqu'un avait une petite idée d'ou provient cette erreur cela m'aiderai beaucoup. Merci.
Je précise que j'utilise Tomcat 5.5.23 et voici l'erreur que j'obtient lorsque je tente de voir l'application :
Citation:
exception
org.apache.jasper.JasperException: Faces context not found. getResponseWriter will fail. Check if the FacesServlet has been initialized at all in your web.xml configuration fileand if you are accessing your jsf-pages through the correct mapping. E.g.: if your FacesServlet is mapped to *.jsf (with the <servlet-mapping>-element), you need to access your pages as 'sample.jsf'. If you tried to access 'sample.jsp', you'd get this error-message.
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:476)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
cause mère
javax.faces.FacesException: Faces context not found. getResponseWriter will fail. Check if the FacesServlet has been initialized at all in your web.xml configuration fileand if you are accessing your jsf-pages through the correct mapping. E.g.: if your FacesServlet is mapped to *.jsf (with the <servlet-mapping>-element), you need to access your pages as 'sample.jsf'. If you tried to access 'sample.jsp', you'd get this error-message.
javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:926)
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:313)
org.apache.myfaces.trinidad.webapp.UIXComponentTag.doStartTag(UIXComponentTag.java:101)
org.apache.jsp.index_jspx._jspx_meth_tr_005fdocument_005f0(index_jspx.java:75)
org.apache.jsp.index_jspx._jspService(index_jspx.java:52)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
:merci: