Answer Posted / nikel
In struts 1.x version Action class follows Single Instance Multiple Threaded model.hence WebContainer creates object for a Action class per Session basis.so Action class is not ThreadSafe.But we can make it ThreadSafe by Synchronization mechanism.
But in Struts 2.x version Action class obj is created by WebContainer per request basis.So Action class is always threadsafe.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is java struts?
What is controller in struts ?
What is struts xml?
What do you mean by tiles in struts?
Explain struts?
Do I have to credit struts on my own website?
What is the purpose of global-forwards tag in struct-config.xml?
Are actions thread safe?
What’s the utilization of resource bundle properties file in struts validation structure?
Can you explain custom tag?
What is defeult result type?
Explain about the
What is the difference between filters and interceptors ?
What is container struts2?
What are apache struts?