tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Moore" <>
Subject RE: Does tc-4.12 have bugs with nested jsp tags?
Date Mon, 21 Oct 2002 17:18:35 GMT
> -----Original Message-----
> From: Zsolt Koppany [] 
> Sent: Sunday, October 20, 2002 5:42 PM
> To:
> Subject: Does tc-4.12 have bugs with nested jsp tags?
> Hi,
> my nested JSP tags (nesting level 3-4) work fine under 
> tc-4.0.4 but they seem 
> to be bugy with tc-4.12. Are there known JSP issues with tc-4.12?
> Zsolt

(I'm assuming you mean Tomcat 4.1.12)

In all 4.1.x versions, tag pooling is turned on by default, so if your
tags are not written correctly according to the spec (which is a common
problem) some problems can arise when using tag pooling that don't
happen when tag pooling is disabled.  This is particularly true if
you're assuming that the release method will be called on your tag
between invocations; it will not.

You can try disabling pooling by going into $TOMCAT_HOME/conf/web.xml,
finding the definition of the jsp servlet, and setting the
"enablePooling" init parameter to "false".

If this solves your problems, you could just leave pooling off, but you
should seriously consider revising your tags so that they implement the
Tag lifecycle correctly.

You can find more details in the javadocs for

or the Jakarta Taglib Developer Guidelines (which clarify the problems
much better than the javadocs, IMO):
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW / 5th Floor / Washington, DC 20036
Phone 202-463-4860 ext. 258 / Fax 202-463-4863

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message