You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Struts Newsgroup (@Basebeans.com)" <st...@basebeans.com> on 2002/07/18 11:10:02 UTC

Tag Iterate and jsp:include (ERRATA)

Subject: Tag Iterate and jsp:include (ERRATA)
From: "Guido" <su...@freemail.it>
 ===
Hi all, i'm having the following error message with a jsp under Tomcat 4.0.1
:  "Illegal to flush within a custom tag".
The code involved is :

<logic:iterate name="myBean" id="my_id" property="my_property"
type="........">
    <jsp:include page="<%=my_id.getJspName()%>" />
</logic:iterate>


This error happens only in production environment, with all others
installations ( 4 ) of tomcat it works fine.

I'm very very sure the settings of the 5 environments are the same: Win2K +
MicrosoftIIS  + Tomcat 4.0.1.
Has someone any idea about this ?
Thank in advance,
    Guido Anselmi



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Tag Iterate and jsp:include (ERRATA)

Posted by Cedric Dumoulin <ce...@lifl.fr>.
  Check your jsp specification version.
  You can't do a jsp include inside the body of a tag in jsp1.1. You 
should be able to do it in jsp1.2.

     Cedric

Struts Newsgroup (@Basebeans.com) wrote:

>Subject: Tag Iterate and jsp:include (ERRATA)
>From: "Guido" <su...@freemail.it>
> ===
>Hi all, i'm having the following error message with a jsp under Tomcat 4.0.1
>:  "Illegal to flush within a custom tag".
>The code involved is :
>
><logic:iterate name="myBean" id="my_id" property="my_property"
>type="........">
>    <jsp:include page="<%=my_id.getJspName()%>" />
></logic:iterate>
>
>
>This error happens only in production environment, with all others
>installations ( 4 ) of tomcat it works fine.
>
>I'm very very sure the settings of the 5 environments are the same: Win2K +
>MicrosoftIIS  + Tomcat 4.0.1.
>Has someone any idea about this ?
>Thank in advance,
>    Guido Anselmi
>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>  
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>