Bonjour merci pour votre réponse voila le code source que je suis entrain dutiliser
Dans le page index jaffiche la page operation.jsp qui inclut la page identification.jsp
en 1er lieu je submit la page identification -> jaffiche les résultats et je forward index.do dans laction identifAction
en 2ème lieu je submit la page opération pour afficher les informations liés à la page operation -> jaffiche le résultat et je forward index.do dans laction operationAction
Le problème que je pers les informations affichées dans la page identification
Merci de Votre Collaboration
A+
Page index.jsp possède une action /index et un Form Bean indexFB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-layout.tld" prefix="layout" %>
<html:html>
<jsp:useBean id="INDEXFB" scope="session" class="projet.forms.IndexFormBean" />
<%
String pg="body.jsp";
if (INDEXFB.getPagejsp() != null){
pg= INDEXFB.getPagejsp();
}
%>
<table>
<tr>
<td valign="top">
<table>
<tr>
<td width="160" valign="top">
<table>
<tr>
<td width="2" bgcolor="#BBBBBB"></td>
<td valign="top">
<jsp:include page="menu.jsp" flush="true"/>
</td>
</tr>
</table>
</td>
<td valign="top">
<table>
<tr>
<td valign="top">
<jsp:include page="<%=pg%>" flush="true"/></td>
</tr>
<tr>
<td height="30">
<div id="TB" style="position:relative; width:100%; height:100%; z-index:2">
<script language="JavaScript">
DisplayButtons('default');
</script>
</div>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html:html>
Page Operation.jsp
Possede une action /operation et un form Bean operationFB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-layout.tld" prefix="layout" %>
<html:html>
<BODY>
<jsp:include page="identification.jsp" flush="true"/>
<layout:form action="/operation" styleClass="FORM" width="100%">
<layout:text key="" mode="N,H,R" property="BUTTON_ACTION" />
<layout:text key="" mode="N,H,R" property="CODOPE" />
<layout:row space="false">
<layout:text property="PK_NUM_NUMOPE_OB" />
<layout:text property="DAT_DATEML_OB" />
<layout:message styleClass="rowTitle" />
<layout:text property="MNT_COMMISSION_FC" readonly="true" />
<layout:text property="NUM_TVA_FC" readonly="true" />
<layout:text property="DAT_DATVAL_FC" readonly="true" />
</layout:row>
<layout:row space="false">
<layout:text property="TXT_MOTIFML_FC"style="width: 150px" />
</layout:row>
</layout:form>
</BODY>
</html:html>
Page Operation.jspPossede une action /actionIdentif et un form Bean identifFB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-layout.tld" prefix="layout" %>
<html:html>
<BODY>
<layout:form action="/actionIdentif" styleClass="FORM" width="100%" align="center">
<layout:row space="false">
<layout:text property="TXT_codbanq_OB" readonly="true" />
<layout:text key="" property="TXT_codugbct_OB" style="width: 25px" />
<layout:text key="" property="TXT_numcpt_OB" style="width: 100px" onchange="identLoad(this.form)" />
<layout:text key="" property="TXT_clebct_OB" style="width: 20px" readonly="true" />
<layout:text property="MNT_soldedisponible_OB" readonly="true" />
<layout:text property="TXT_soldedisponible2_OB" style="width: 25px" readonly="true" />
</layout:row>
<layout:row space="false">
<layout:text property="TXT_nomrs_OB" style="width: 120px" readonly="true" />
<layout:text property="TXT_prenom_OB" style="width: 120px" readonly="true" />
</layout:row>
<layout:row space="false">
<layout:text property='TXT_blocage_FC' readonly="true" />
<layout:text property='NUM_chqrecouv_FC' readonly="true" />
<layout:text property='NUM_impayes_FC' readonly="true" />
</layout:row>
</layout:form>
</BODY>
</html:html>