I use both in some JSP and it works fine.
Here is a sample one :
<%@ taglib uri="/taglibs/generic.tld" prefix="esope" %>
<%@ taglib uri="/taglibs/c.tld" prefix="c" %>
<%@ taglib uri="/taglibs/fmt.tld" prefix="fmt" %>
<jsp:include page="entetePage.jsp" >
<jsp:param name="titre" value="" />
<jsp:param name="historygoback" value="false" />
</jsp:include>
<script language="JavaScript1.2"
src="../gestionDemande/controleSaisieProduit.js"
type="text/javascript"></script>
<script language="JavaScript1.2"
src="../gestionDemande/modificationProduit.js"
type="text/javascript"></script>
<script language="JavaScript1.2" type="text/javascript">
function validerForm()
{
controleverre();
}
</script>
<fmt:setLocale value="en_US" />
<form method="post" action="GestionDemandes" name="frmSaisieProduit">
<table class="panel" width="98%" align="center">
<%@ include file="infosActeProduit.jsp" %>
<%@ include file="affinagesProduitVERRE.jsp" %>
<%@ include file="saisieDepense.jsp" %>
<%@ include file="validationProduit.jsp" %>
</table>
</form>
<%@ include file="modificationProduitFocus.jsp" %>
<jsp:include page="basPage.jsp" >
</jsp:include>
-----Message d'origine-----
De : Tim Funk [mailto:[EMAIL PROTECTED]
Envoy� : jeudi 2 octobre 2003 18:33
� : Tomcat Users List
Objet : Re: Including a JSP into another.
It should work. Is it a compile or run time error?
-Tim
Andoni wrote:
> Hello,
>
> This does not work for me at all:
>
> <jsp:include page="mypage.jsp" flush="true" />
>
> But when I do a simple substitution for:
>
> <%@ include file="mypage.jsp"%>
>
> It works fine. I want to use the first one though as I want to add
parameters to the call.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]