Changer une action d'un <html:form..>
Bonjour j'ai un petit probleme. J'avais dans ma page JSP un <html: form....action="/RechercheCFA.do"> et dans mon fichier struts-config le code suivant:
Code:
1 2 3 4 5 6 7 8 9 10
|
<action path="/RechercheCFA"
type="gloriaweb.contact.action.ActionRechercheCFA"
name="RechercheCFAForm"
validate="false"
>
<forward name="OK" path="ctcrechcfa.page"/>
<forward name="KO" path="ctcrechcfa.page"/>
</action> |
tout sa marchait. CE que je ne comprend pas c'est lorsque je change le nom de mon action c'est a dire en mettant: <html:form...action="/RechercheAvanceCFA.do"> et que je change egalement le nom, de mon struts-config:
Code:
1 2 3 4 5 6 7 8 9 10
|
<action path="/RechercheAvanceCFA"
type="gloriaweb.contact.action.ActionRechercheCFA"
name="RechercheCFAForm"
validate="false"
>
<forward name="OK" path="ctcrechcfa.page"/>
<forward name="KO" path="ctcrechcfa.page"/>
</action> |
sa ne marche plus. Quelqu'un serait il pourquoi?