Yes they are. Request scope attributes and local method variables are thread safe, anything else is not, that includes: - session attributes (since more than one request can be sent from the same client) - application attributes (since all servlets share the same application/context and can access them anytime they wish) - servlet's instance variables those variables defined in the body of the servlet (since any request to that servlet can access them)
just come to think of it...technically the request attributes are not thread-safe are they....i mean no code will lock the request object. it's just that it is not possible (i think) two get something as two concurrent requests
is there?
have i got this right? [ June 16, 2008: Message edited by: Ali Khalfan ]