Bonjour tout le monde,
Lorsque je compile ma jsp, j'ai cette erreur qui s'affiche:
Je ne comprend pas bien pourquoi car j'ai bien configuré mon fichier struts-config, le voici:
Code : Sélectionner tout - Visualiser dans une fenêtre à part No action instance for path /action could be created
Je vous remercie de votre aide
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"?> <!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> <data-sources/> <form-beans type="org.apache.struts.action.ActionFormBean"> <form-bean name="formulaire" type="bean.Form"/> </form-beans> <global-exceptions/> <global-forwards/> <action-mappings type="org.apache.struts.action.ActionMapping"> <action path="/action" input="/index.jsp" scope="request" name="formulaire" type="bean.Formaction"/> </action-mappings> <controller/> <message-resources null="false" parameter="controle_fr"/> </struts-config>
Partager