Bonjour à tous,

j'essaie de mettre en place une application web utilisant à la fois : JSF - Facelets et RichFaces.

Pour ce qui est de JSF + Facelets, tout marche très bien.
Par contre pour intégrer RichFaces, ca marche moins bien !

Simplement en ajoutant les librairies de RichFaces ( richfaces-ui-3.3.2.SR1-tlddoc.jar - richfaces-ui-3.3.2.SR1.jar - richfaces-ui-3.3.2.SR1-sources.jar-richfaces-ui-3.3.2.SR1-javadoc.jar ), je relance mon application web et j'obtiens tout le temps la page d'erreur de Tomcat suivante :



Etat HTTP 404
type Rapport d'état
description La ressource demandée n'est pas disponible.

Mon fichier web.xml
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
 
<?xml version="1.0"?>
 
<web-app version="2.5" 
 
                xmlns="http://java.sun.com/xml/ns/javaee"
 
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
 
                xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
 
<display-name>Ajax</display-name>
 
 
 
<context-param>
   <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
   <param-value>server</param-value>
</context-param>
 
<context-param>
   <param-name>org.richfaces.SKIN</param-name>
   <param-value>blueSky</param-value>
</context-param>
 
<context-param>
      <param-name>org.richfaces.CONTROL_SKINNING</param-name>
      <param-value>enable</param-value>
</context-param>
 
 
 
<filter> 
   <display-name>RichFaces Filter</display-name> 
   <filter-name>richfaces</filter-name> 
   <filter-class>org.ajax4jsf.Filter</filter-class> 
</filter> 
 
<filter-mapping> 
   <filter-name>richfaces</filter-name> 
   <servlet-name>Faces Servlet</servlet-name>
   <dispatcher>REQUEST</dispatcher>
   <dispatcher>FORWARD</dispatcher>
   <dispatcher>INCLUDE</dispatcher>
</filter-mapping>  
 
<listener>
   <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>
 
 
<!-- Faces Servlet -->
 
<servlet>
   <servlet-name>Faces Servlet</servlet-name>
   <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
   <load-on-startup>1</load-on-startup>
</servlet>
 
<!-- Faces Servlet Mapping -->
 
<servlet-mapping>
   <servlet-name>Faces Servlet</servlet-name>
   <url-pattern>*.jsf</url-pattern>
</servlet-mapping>
 
 
 
<login-config>
   <auth-method>BASIC</auth-method>
   </login-config>
</web-app>

Est-ce que quelqu'un a déjà eu ce problème ?