In a servlet, are the method variables are shared between several threads or not?
Created May 7, 2012
Luc-André Essiambre Variables declared in methods are never shared, whether these methods are static or not...
[However, session variables are shared, and instance variables *may* be shared (or may not, which means you shouldn't use them) - Alex]