[struts] enchainement de pages
Hello,
j'ai un soucis, je voudrais que quand je clique sur submit sur QueryOnDemand.jsp j'arrive vers QueryOnDemand2.jsp.
Pour arriver sur QueryOnDemand.jsp j'utilise un lien struts => QueryOnDemand.do pointe sur la page.
voici mon struts-config.xml
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
<action
path="/QueryOnDemand"
type="bank.fortis.strutsloggingprojectwar.actions.ActionQueryOnDemand"
name="formQueryOnDemand"
scope="request"
validate="true"
input="/QueryOnDemand.jsp">
<forward name="success" path="/QueryOnDemand.jsp"/>
<forward name="error" path="/last.jsp"/>
</action>
<action
path="/QueryOnDemand2"
type="bank.fortis.strutsloggingprojectwar.actions.ActionQueryOnDemand2"
name="formQueryOnDemand2"
scope="request"
validate="true"
input="/QueryOnDemand2.jsp">
<forward name="success" path="/QueryOnDemand3.jsp"/>
<forward name="error" path="/last.jsp"/>
</action> |
le problème est que quand je clique sur le lien qui est censé m'afficher QueryOnDemand.jsp il m'affiche directement QueryOnDemand2.jsp sans ouvrir la première page.
J'aimerais comme déroulement normal :
clic sur queryondemand.do => formQueryOnDemand => ActionQueryOnDemand => page queryOnDemand.jsp => clic sur submit => formQueryOnDemand2 => Action QueryOnDemand2 => QueryOnDemand2.jsp.
C'est sans doute une question très basique mais je ne vois pas quoi faire,
quelqu'un pour m'aider ?