tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manuel Alzola" <malz...@wanadoo.es>
Subject Re: Parameters in include tag
Date Thu, 29 Mar 2001 20:41:31 GMT
Thanks Pierre.

<jsp:include page="/servlet/Restaurants" flush="true">
    <jsp:param name="State" value="<%= stateCode %>"/>
</jsp:include> 

works fine, but when I try to nest it in the following way

<xsl:apply xsl="xsl/restaurantstable.xsl">
    <jsp:include page="/servlet/Restaurants" flush="false">
        <jsp:param name="State" value="<%= stateCode %>"/>
    </jsp:include>
</xsl:apply>

I get the error 

javax.servlet.ServletException: Illegal to flush within a custom tag

and if I turn off flush I receive 

jsp:include page="..." flush="true" es la unica combinacion valida en JSP 1.0

the xsl tag I´m using is the one from jakarta and my server is Tomcat 3.2

Thanks

----- Original Message ----- 
From: "Pierre Delisle" <pierre.delisle@sun.com>
To: <taglibs-user@jakarta.apache.org>
Sent: Thursday, March 29, 2001 3:51 AM
Subject: Re: Parameters in include tag


> 
> 
> > Manuel Alzola wrote:
> > 
> > Hello. I´m using the include tag to put the output of a servlet into a jsp
> > page. It works fine but I also need to put some parameters in the request. Is
> > there a nested tag to let me do this? Is there any other way to accomplish it?
> 
> You may use:
> 
> <jsp:include page="urlSpec" flush="true">
>   { <jsp:param .... /> }*
> </jsp:include>
> 
>     -- Pierre
> 

Mime
View raw message