Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Struts and the fly likes Do actions have to be thread-safe ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Do actions have to be thread-safe ?" Watch "Do actions have to be thread-safe ?" New topic
Author

Do actions have to be thread-safe ?

Don Kiddick
Ranch Hand

Joined: Dec 12, 2002
Posts: 580
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

Joined: Nov 09, 2000
Posts: 6450
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

Joined: Dec 12, 2002
Posts: 580
thanks !
 
Don't get me started about those stupid light bulbs.
 
subject: Do actions have to be thread-safe ?