https://issues.apache.org/bugzilla/show_bug.cgi?id=57314
--- Comment #15 from Shailendra Singh <shailendra...@outlook.com> --- Thank you for posting this bug. This will help me to avoid lots of troubles. I am also disappointed by this resolution. I am in the same boat as you as feel that Tomcat should have implemented in a way which matches the implementation by other containers. If I understand it correctly then adding tomcat specific hack will create a dependency on tomcat runtime which will make a framework (which has been coded against Servlet API to keep it portable) un portable. Current implementation makes some people happy while others (who use ThreadLocal (heavily) in a way you have described) unhappy. Implementing it in other way (as done by other containers) will make everyone happy. As Servlet specification does not say which of these two ways are correct, I see no harm in implementing it in other way. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org