I don't think we should allow user code in document pages the
ability to create threads. This is going to be asking for trouble
IMO
(Remember that inside a J2EE container you're not allowed to
manipulate threads).
Hmm -- I was think about case lightweight Apache/Tomcat.
If we think about J2EE - yes, it's not allowed, but is using ThreadLocal is
allowed inside J2EE application ?
(And yet one moment to care is
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6254531
[workaround is cleaning ThreadLocal at the end of each request]
)
--
Ruslan Shevchenko
GradSoft.
http://www.gradsoft.ua