Voila, avant je mettais mes scripts .jsp dans le fichier work de mon application wab mais on m'a dit que ce n'etais pas bien. Seulement voila, quand je mets cela dans WEB_INF, rien ne marche plus! Ma page est index.jsp, mon fichier web.xml est celui ci :
Aidez moi svp!!!
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 <?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> <servlet> <servlet-name>Index</servlet-name> <jsp-file>index.jsp</jsp-file> </servlet> <servlet-mapping> <servlet-name>Index</servlet-name> <url-pattern>/index.jsp</url-pattern> </servlet-mapping> </web-app>
Partager