Bonjour,
J'ai un problème de redirection vers une action en utilisant plusieurs struts-config.
L'organisation des dossiers:
Declaration dans le Web.xmlCode:
1
2
3
4
5
6
7
8
9
10 WEB-INF Struts-config.xml tiles-def.xml Struts Authentification Struts-config.xml tiles-def.xml DmdConges Struts-config.xml tiles-def.xml
Du struts-config principal j'arrive à accèder à celui de l'authentificationCode:
1
2
3
4
5
6
7
8
9
10
11
12
13 <init-param> <param-name>config</param-name> <param-value>/WEB-INF/struts-config.xml</param-value> </init-param> <init-param> <param-name>config/Authentification</param-name> <param-value>/WEB-INF/struts/Authentification/struts-config.xml</param-value> </init-param> <init-param> <param-name>config/DmdConges</param-name> <param-value>/WEB-INF/struts/DmdConges/struts-config.xml</param-value> </init-param>
Mon problème est quand je suis dans Authentification pour appeler une action se trouvant dans le struts DmdCongesCode:
1
2
3
4
5 <action-mappings> <action path="/init" type="DCP.struts.action.Authentification.AuthentificationAction" > <forward name="success" path="/Authentification/authentification.do" /> </action> </action-mappings>
j'ai essayé
mais cela ne fonctionne pas.Code:
1
2
3 <action path="/ValiderAuthentification" type="DCP.struts.action.Authentification.ValiderAuthentificationAction" > <forward name="success" path="/DmdConges/AfficherSaisieConges.do"/> </action>
Merci de votre aide