A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
Request attributes are thread safe
Raj Kumar Bindal
Ranch Hand
Joined: Apr 15, 2006
Posts: 407
posted
Jul 26, 2007 10:08:00
0
I have read earlier posts relating to this.I still have one doubt.
We can't say that session attributes are always thread safe,then how can we say that request attributes are always thread safe.
Please clarify.
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56175
13
I like...
posted
Jul 26, 2007 11:11:00
0
Because no more than one thread (unless
you
do something overt) has a reference to the request instance at a time.
[
Smart Questions
] [
JSP FAQ
] [
Books by Bear
] [
Bear's FrontMan
] [
About Bear
]
Raj Kumar Bindal
Ranch Hand
Joined: Apr 15, 2006
Posts: 407
posted
Jul 26, 2007 11:22:00
0
Thanks Bear
I agree. Here's the link:
http://aspose.com/file-tools
subject: Request attributes are thread safe
Similar Threads
Doubt on attribute scope thread saftey mock Q
request attributes thread-safe !?
MVC Pattern doubt
request atributes are always thread-safe?
Thread safe servlets
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter