You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Fred Livingston <FL...@physiome.com> on 2002/08/01 16:33:14 UTC

problems with nested tag examples

Hello fellow struts users;

I have been looking at the nested tags example from the keyboard monkey, but
can't get them to work.

With <jsp:include page="treenode.jsp" /> I get the following error:

org.apache.jasper.JasperException: JSPG0080E: Invalid jsp:include tag

With <jsp:include page="treenode.jsp" fluch="true"/> I get the following
error:

I get the following error: java.io.IOException: Illegal to flush within a
custom tag

When I instead use <%@ include file="treenode.jsp" %> I get the following
error.
org.apache.jasper.compiler.ParseException: JSPG0066E: Seen file
\treenode.jsp already, maybe this is a recursive include?!

I am using struts 1.02 with Websphere Application Studio 4.02

My eventual goal is to make a nested set of radio buttons that returns just
ONE element:

X
--x1
----x1a
------x1a1
--x2
Y
--y1
--y2
Z

Thanks for you help,

Fred Livingston


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


Re: problems with nested tag examples

Posted by Arron Bates <st...@keyboardmonkey.com>.
Sorry to report that your container is out of data, and will not be able
to do the "true" recursion that the monkey tree example uses to do it's
thing.

You'll have two options... update your container, or use what I'll call
"faux recursion". Have your page use static includes and arbitrarily
mark them up.

So it's either the hassle of upgrading the server (Tomcat 4, Resin
2.5.x, Weblogic 6.1 have all worked spiffy for me. Any JSP 1.2 compliant
container), or only go a certain amount of levels (upgrading the
container will give you potentially infinite levels).


Arron.



On Fri, 2002-08-02 at 00:33, Fred Livingston wrote:
> Hello fellow struts users;
> 
> I have been looking at the nested tags example from the keyboard monkey, but
> can't get them to work.
> 
> With <jsp:include page="treenode.jsp" /> I get the following error:
> 
> org.apache.jasper.JasperException: JSPG0080E: Invalid jsp:include tag
> 
> With <jsp:include page="treenode.jsp" fluch="true"/> I get the following
> error:
> 
> I get the following error: java.io.IOException: Illegal to flush within a
> custom tag
> 
> When I instead use <%@ include file="treenode.jsp" %> I get the following
> error.
> org.apache.jasper.compiler.ParseException: JSPG0066E: Seen file
> \treenode.jsp already, maybe this is a recursive include?!
> 
> I am using struts 1.02 with Websphere Application Studio 4.02
> 
> My eventual goal is to make a nested set of radio buttons that returns just
> ONE element:
> 
> X
> --x1
> ----x1a
> ------x1a1
> --x2
> Y
> --y1
> --y2
> Z
> 
> Thanks for you help,
> 
> Fred Livingston
> 
> 
> --
> 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>