aspose file tools
The moose likes Servlets and the fly likes Thread safety Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Thread safety" Watch "Thread safety" New topic
Author

Thread safety

shivam singhal
Ranch Hand

Joined: Jul 15, 2012
Posts: 166

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: 56528
    
  14

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
shivam singhal
Ranch Hand

Joined: Jul 15, 2012
Posts: 166

oks..
thanks bear..
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Thread safety
 
Similar Threads
MVC Pattern doubt
Help w/SingleThreadModel
are request attributes and session attributes thread safe?
Are implicit objects in JSP are thread safe???
request scope is thread safe