tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "AMELIN Franck" <franck.ame...@proval.fr>
Subject RE: Including a JSP into another.
Date Fri, 03 Oct 2003 06:31:12 GMT
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:funkman@joedog.org]
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message