Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thread safety

 
shivam singhal
Ranch Hand
Posts: 231
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64838
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
shivam singhal
Ranch Hand
Posts: 231
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oks..
thanks bear..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic