Is Struts Action class Thread Safe?

Answers were Sorted based on User's Feedback



Is Struts Action class Thread Safe?..

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

Is Struts Action class Thread Safe?..

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

Is Struts Action class Thread Safe?..

Answer / sreenivasula reddy

Yes struts is threadsafe. and light weight component also

Is This Answer Correct ?    9 Yes 31 No

Is Struts Action class Thread Safe?..

Answer / syed

as my nowladge Actionclass is thread safe.

Is This Answer Correct ?    7 Yes 37 No

Post New Answer

More Struts Interview Questions

In strurt why w use two differnt files web.xml and strut config.xml?

2 Answers  


What does it cost to replace struts?

0 Answers  


How can we handle exceptions thrown by application in Struts2?

0 Answers  


What is role of action class?

0 Answers  


Explain the life cycle of a request in struct2 application?

0 Answers  






In struts, how can we access java beans and their properties?

0 Answers  


What is difference between interceptors and filters?

0 Answers  


Are struts and shocks the same?

0 Answers  


life cycle of struts?

14 Answers   HCL, iGate, Scope International,


What is container struts2?

0 Answers  


What’s the utilization of struts.xml configuration file?

0 Answers  


What is the purpose of @requiredstringvalidator annotation?

0 Answers  


Categories