Bonjour

je recherche une doc ou tutorial français (ou conseils divers) pour construire mon fichier "web.xml".
Je ne veux pas d'un fichier compliqué, entre autre le mapping des servlets.

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
 
<?xml version="1.0" encoding="ISO-8859-1"?>
 
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
 
<web-app>
 
    <display-name>CR</display-name>
    <description>
      CR servlets and JSP pages.
    </description>
 
    <filter-mapping>
      <filter-name>login</filter-name>
      <url-pattern>/CR.LogInServlet</url-pattern>
    </filter-mapping>
 
    <!-- Define servlets that are included in the example application -->
 
    <servlet-mapping>
        <servlet-name>invoker</servlet-name>
        <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>
 
 </web-app>
Pour l'instant tomcat ne veux rien savoir.

merci.