Bonjour,
voila mon fichier web.xml .pour definir le mapping entre spring et jsf d'une part ainsi que le mapping richfaces
problemes reconnu sont : au niveau de
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 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0"> <display-name>stage</display-name> <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> <welcome-file>default.html</welcome-file> <welcome-file>default.htm</welcome-file> <welcome-file>default.jsp</welcome-file> </welcome-file-list> <listener> <listener-class> org.springframework.web.context.ContextLoaderListener </listener-class> </listener> <listener> <listener-class> org.springframework.web.context.request.RequestContextListener </listener-class> </listener> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.jsf</url-pattern> </servlet-mapping> <!-- Defining and mapping the RichFaces filter --> <filter> <display-name>RichFaces Filter</display-name> <filter-class> org.ajax4jsf.Filter </filter-class> </filter> <filter-mapping> <display-name>RichFaces Filter</display-name> <servlet-name>Faces Servlet</servlet-name> </filter-mapping> </web-app>
aussi<filter-class> org.ajax4jsf.Filter </filter-class>
----- cvc-complex-type.2.4.a: Invalid content was found starting with element 'filter-class'. One of '{"http://
java.sun.com/xml/ns/javaee":display-name, "http://java.sun.com/xml/ns/javaee":icon, "http://java.sun.com/
xml/ns/javaee":filter-name}' is expected.
pouvez vous m'aider et merci d 'avance<display-name>RichFaces Filter</display-name>
----cvc-complex-type.2.4.a: Invalid content was found starting with element 'display-name'. One of '{"http://
java.sun.com/xml/ns/javaee":filter-name}' is expected.
Partager