----- Original Message -----
From: Manuel Alzola
To: taglibs-user@jakarta.apache.org
Sent: Thursday, March 29, 2001 10:41 PM
Subject: Re: Parameters in include tag

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 Im 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. Im 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
>