confused about custom-tag keeping state...
From: luca (luca_remove_at_tin.it)
Date: 03/05/04
- Next message: Jérôme VUIBERT: "Running java applet under IE6"
- Previous message: Josef Garvi: "Re: Program the minimum and maximum in Java"
- Next in thread: Ryan Stewart: "Re: confused about custom-tag keeping state..."
- Reply: Ryan Stewart: "Re: confused about custom-tag keeping state..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 05 Mar 2004 08:34:02 GMT
Hello, I am designing a tag library. My problem is that
my tags (tomcat 4.1.18 on win2k) seem to retain the status
from one invocation to the next (i.e. variables are
not initialized each time).
I tried to look for solutions on google, but I only gather
that I should do something about calling the release() method
somewhere (but where?)
Also, I am confused about multi-threading (what if a doInitTag
kicks in while a previous instance of the tag is being processed?)
I have found a workaround by manually reinitializing the tags
at the beginning of doInitTag(), but this seems unelegant to me...
ideas? real knowledge?
thank you
luca
- Next message: Jérôme VUIBERT: "Running java applet under IE6"
- Previous message: Josef Garvi: "Re: Program the minimum and maximum in Java"
- Next in thread: Ryan Stewart: "Re: confused about custom-tag keeping state..."
- Reply: Ryan Stewart: "Re: confused about custom-tag keeping state..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
Loading