At 07:03 27.06.2002 -0700, [EMAIL PROTECTED] wrote: > > As an aside, setting the logger in the static init method is almost always > > wrong for a servlet. If the class is living in a jar in lib/apps, then > only > > one logger gets created even if the servlet is used in several webapps. > >+1 > >But: if I remember corectly, the TCL is set to either the webapp or to >the container class loader ( so jasper and other modules can find the >parser ). In which case a servlet can access the container class loader, >by using a static field that gets it. This may be a security problem.
Let me just mention that using the TCL to keep track of the context is just one possible solution. Is there another place that keeps track of what thread is executing what web-application? Remember that the ContextRepositorySelector is implemented within the Container. It is not prevented from doing Container specific tricks. Just a possibility worth mentioning. >Costin -- Ceki -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>