Bonjour,
je debute avec struts, j'essaye d'executer une page jsp. et j'obtiens cette erreur (fichier log). Je ne comprends pas l'erruer.
sur le page web j'ai ceci:Code:
1
2GRAVE: Null component Catalina:type=JspMonitor,WebModule=//localhost/strutspersonne,J2EEApplication=none,J2EEServer=none
Code:
1
2
3
4
5
6 Etat HTTP 503 - La servlet jsp est actuellement indisponible type Rapport d'état message La servlet jsp est actuellement indisponible description Le service demandé (La servlet jsp est actuellement indisponible) n'est pas disponible actuellement. Apache Tomcat/5.0.28
Voici mes fichiers
web.xml
etCode:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 <?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>action</servlet-name> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class> <init-param> <param-name>config</param-name> <param-value>/WEB-INF/struts-config.xml</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>*.do</url-pattern> </servlet-mapping> </web-app>
struts-config.xml
et erreurs.personne.jspCode:
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 <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"> <struts-config> <action-mappings> <action path="/main" parameter="/vues/main.html" type="org.apache.struts.actions.ForwardAction" /> <action path="/erreurs" parameter="/vues/erreurs.personne.jsp" type="org.apache.struts.actions.ForwardAction" /> <action path="/reponse" parameter="/vues/reponse.personne.jsp" type="org.apache.struts.actions.ForwardAction" /> </action-mappings> </struts-config>
je lance ceci sur mon navigateur: http://localhost:8090/strutspersonne/erreurs.doCode:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <html> <head> <title>Personne</title> </head> <body> <h2>Les erreurs suivantes se sont produites</h2> <html:errors/> <html:link page="/formulaire.do"> Retour au formulaire </html:link> </body> </html>
Merci
Merci