Are HttpServlet Request objects thread safe?

I have searched several sites and i have got both answers yes and no. Straight forward answer will be yes, they are thread safe. But we can pass the reference of request to other threads right.. so rendering them not thread safe.. So what is the truth. Does the java spec say anything about this?

[303 byte] By [Kaputaboa] at [2007-10-2 9:11:02]
# 1

A request is something that should belong to only one thread, so to me logic dictates it's not going to be thread safe for performance reasons.

> Does the java spec say anything about this

If this information is so important to you, the safest bet would be to read the specs yourself.

gimbal2a at 2007-7-16 23:18:03 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
I am sorry but i did not get you. If request belongs to only one thread then it should be thread safe right?Also what has performance got to do with thread safety?
Kaputaboa at 2007-7-16 23:18:03 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
It's the Servlet spec you want to read, not the JLS. My assumption would be that it is not thread-safe. Yours should be too unless you take the trouble to find out otherwise.
DrClapa at 2007-7-16 23:18:03 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...