Re: confused about custom-tag keeping state...
From: Ryan Stewart (zzanNOtozz_at_gSPAMo.com)
Date: 03/05/04
- Next message: Andrew Thompson: "Re: Running java applet under IE6"
- Previous message: Ryan Stewart: "Re: Not understandable Thread behaviour"
- In reply to: luca: "confused about custom-tag keeping state..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 5 Mar 2004 06:43:40 -0600
"luca" <luca_remove@tin.it> wrote in message
news:_XW1c.175$z23.5511@news3.tin.it...
>
> 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
>
Please crosspost in the future instead of multiposting.
- Next message: Andrew Thompson: "Re: Running java applet under IE6"
- Previous message: Ryan Stewart: "Re: Not understandable Thread behaviour"
- In reply to: luca: "confused about custom-tag keeping state..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|