Is Struts Action class Thread Safe?
Answers were Sorted based on User's Feedback
Answer / raz
Action Class is not Thread Safe, Every Action Class is a
servlet as we know that servlets are not thread safe, it is
going to create new instance for each and every request.
Is This Answer Correct ? | 16 Yes | 19 No |
Answer / kumaravelu
Yes struts is not only thread safe but also thread
dependent.Because its run in light weigth component and
from the orignial action class.
Is This Answer Correct ? | 13 Yes | 18 No |
Answer / sreenivasula reddy
Yes struts is threadsafe. and light weight component also
Is This Answer Correct ? | 9 Yes | 31 No |
In strurt why w use two differnt files web.xml and strut config.xml?
What does it cost to replace struts?
How can we handle exceptions thrown by application in Struts2?
What is role of action class?
Explain the life cycle of a request in struct2 application?
In struts, how can we access java beans and their properties?
What is difference between interceptors and filters?
Are struts and shocks the same?
life cycle of struts?
14 Answers HCL, iGate, Scope International,
What is container struts2?
What’s the utilization of struts.xml configuration file?
What is the purpose of @requiredstringvalidator annotation?