> -----Original Message-----
> From: Zsolt Koppany [mailto:zkoppany@;web.de] 
> Sent: Sunday, October 20, 2002 5:42 PM
> To: [EMAIL PROTECTED]
> 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
javax.servlet.jsp.tagext.Tag:
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/jsp/tagext/T
ag.html

or the Jakarta Taglib Developer Guidelines (which clarify the problems
much better than the javadocs, IMO):
http://jakarta.apache.org/taglibs/guidelines.html
-- 
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:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to