aspose file tools
The moose likes Servlets and the fly likes Request attributes are thread safe Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Request attributes are thread safe" Watch "Request attributes are thread safe" New topic
Author

Request attributes are thread safe

Raj Kumar Bindal
Ranch Hand

Joined: Apr 15, 2006
Posts: 407
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

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
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