bonjour,

je n'arrive pas a acceder a ma servlet

je tape URL : http://localhost:8080/Gospel/GospelServlet

j'ai un message m'indiquant que le fichier n'est pas disponible :

voici ma description du 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
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
	<display-name>
	Gospel</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>
</web-app>
<servlet>
        <servlet-name>GospelServlet</servlet-name>
        <servlet-class>gospel.GospelServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>GospelServlet</servlet-name>
        <url-pattern>/GospelServlet</url-pattern>
    </servlet-mapping>
merci !