Re: Does tc-4.12 have bugs with nested jsp tags?

2002-10-22 Thread Zsolt Koppany
Thank you,

you were right.

Zsolt

On Monday 21 October 2002 19:18, Tim Moore wrote:
> > -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

-- 
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Str. 16
70565 Stuttgart
Tel: +49-711-7221873 Fax: +49-1212-5168-29527


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




RE: Does tc-4.12 have bugs with nested jsp tags?

2002-10-21 Thread Tim Moore
> -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>




Does tc-4.12 have bugs with nested jsp tags?

2002-10-20 Thread Zsolt Koppany
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

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