Hi

I have a bit peculiar problem, that I hope someone can help me with.
At the start of my servlet I bind some classes to the Thread, so it can be retrieved everywhere in that thread without passing it along into every method.


At the end of my servlet I unbind all the info from the thread. So far so good.
I use velocity to do the html output, and the templates do some java code calls aswell.
These code calls needs to access the info in the Thread too, but since it is already removed it cant.


Is there a way to run some code immidiately before the thread is returned to the pool?
This to avoid memory leaks.


There might be some I can do with velocity instead, but I will adress that to the velocity list.

Magne Skjeret




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to