You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by Stefan Håkans <st...@ibfs.com> on 2001/03/22 14:51:39 UTC

Tomcat 3.1 vs Tomcat 3.2

Hello!
Two questions.

1.
>>From what I can tell the use of custom tags has changed from Tomcat 3.1 to
Tomcat 3.2
You can no longer specify any type of object as an attribute.
Is there anyway a custom tag can use a scripting variable from the page. (I
don't mean specify a scripting variable)
Example:
	In Tomcat 3.1 this worked fine:
		<x:mytag attrib="<%= scrptvar %>" />
	In Tomcat 3.2 'attrib' can't be of any class so I want to pass the
scripting variable's name
		<x:mytag attrib="scrptvarName" />

Can I, in the tag handler, find the scripting variable with the pageContext
object or something??

2.
Tomcat 3.2 starts doing a lot of full gc's as soon as I access the first
page in an application the first time.
This doesn't happen in Tomcat 3.1. I've tweaked my java1.3 by increasing
eden size but still...
Why?? Does i precompile or something?

/Thanks in advance
Stefan Håkans
I n t e r b i z z   S c a n d i n a v i a  a b
mailto:stefan.hakans@interbizz.se
http://www.interbizz.com



Re: Tomcat 3.1 vs Tomcat 3.2

Posted by Eduardo Pelegri-Llopart <Ed...@Sun.COM>.
I think you are refering to the "Objects" and "Strings" issue.  A
clarificaiton has been in my todo list for a while, as they say "me
bad!".  Sorry, I am planning to bring up the issue to the JSP expert
group later today or tmorrow at the latest.

	- eduard/o


Stefan Håkans wrote:
> 
> Hello!
> Two questions.
> 
> 1.
> >From what I can tell the use of custom tags has changed from Tomcat 3.1 to
> Tomcat 3.2
> You can no longer specify any type of object as an attribute.
> Is there anyway a custom tag can use a scripting variable from the page. (I
> don't mean specify a scripting variable)
> Example:
>         In Tomcat 3.1 this worked fine:
>                 <x:mytag attrib="<%= scrptvar %>" />
>         In Tomcat 3.2 'attrib' can't be of any class so I want to pass the
> scripting variable's name
>                 <x:mytag attrib="scrptvarName" />
> 
> Can I, in the tag handler, find the scripting variable with the pageContext
> object or something??
> 
> 2.
> Tomcat 3.2 starts doing a lot of full gc's as soon as I access the first
> page in an application the first time.
> This doesn't happen in Tomcat 3.1. I've tweaked my java1.3 by increasing
> eden size but still...
> Why?? Does i precompile or something?
> 
> /Thanks in advance
> Stefan Håkans
> I n t e r b i z z   S c a n d i n a v i a  a b
> mailto:stefan.hakans@interbizz.se
> http://www.interbizz.com