If the resources are allocated in the jsp
there are two options:
- use a try/finally block in your jsp where
you release all resources that are allocated
- if you have several jsp's that allocate the
same resources you can create a subclass
that allocates and free's the
List
Betreff: AW: Tomcat - Request Handling
If the resources are allocated in the jsp
there are two options:
- use a try/finally block in your jsp where
you release all resources that are allocated
- if you have several jsp's that allocate the
same resources you can create a subclass
PROTECTED]]
Gesendet: Donnerstag, 24. Januar 2002 09:34
An: Tomcat Users List
Betreff: AW: Tomcat - Request Handling
Thanks for your help.
I thought that a filter would be the best place to release resources?
I'll check for deadlocks - that seems to be pretty hard.
Reto
An: Tomcat Users List
Betreff: AW: Tomcat - Request Handling
I don't think that there is something like a general best
place. It depends on design of the application.
I like to keep the timeframe as short as possible where
resources like databases or memory are allocated. That has
for us