This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Servlets and the fly likes Thread safety Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Thread safety" Watch "Thread safety" New topic
Author

Thread safety

shivam singhal
Ranch Hand

Joined: Jul 15, 2012
Posts: 194

attributes added to request scope are thread safe.. right

what about PARAMETERS added to request scope,,,i think they MUST be thread safe...
what is reality??
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60077
    
  65

You cannot add parameters to the request.

But yes, you don't need to worry about the parameters, which you only read in any case, being a threading problem.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
shivam singhal
Ranch Hand

Joined: Jul 15, 2012
Posts: 194

oks..
thanks bear..
 
jQuery in Action, 2nd edition
 
subject: Thread safety
 
Similar Threads
MVC Pattern doubt
request scope is thread safe
Are implicit objects in JSP are thread safe???
are request attributes and session attributes thread safe?
Help w/SingleThreadModel