Is struts threadsafe?



Struts is not only thread-safe but also thread-dependent. Rather than an individual servlet, the response to a request is handled by a light-weight Action object. Struts instantiates each Action class once, and allows other requests to be threaded through the original object. This core strategy conserves resources and provides the best possible throughput. A properly-designed application will exploit this further by routing related operations through a single Action.



Leave a Reply