Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Do actions have to be thread-safe ?

 
Don Kiddick
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm editing an Action class in struts. I don't know anything about struts. Am I to assume that my code has to be thread-safe ?

D.
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Don Kiddick:
I'm editing an Action class in struts. I don't know anything about struts. Am I to assume that my code has to be thread-safe ?

D.


Yes. The same rules apply to Struts as with Servlets.
 
Don Kiddick
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic