Bonjour,
J'ai ce fichier web.xml:
Sur eclipse j'ai une erreur au niveau de la balise <web-app> et au niveau de la balise <servlet>
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 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> <web-app id="WebApp_ID"> <display-name> monprojet</display-name> <servlet> <description> Connect and creat item in CM</description> <display-name> CMServlet</display-name> <servlet-name>CMServlet</servlet-name> <servlet-class> archidoc.servlets.CMServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>CMServlet</servlet-name> <url-pattern>/CMServlet</url-pattern> </servlet-mapping> <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> </web-app>
Comment je peux corigé ce problème ?
Merci.
Partager