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
How do u provide security to ur project?(Banking domain project)
How to override the default error message that can come during file uploading process?
1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they
Are the struts tags xhtml compliant ?
What do struts do?
What is pojo in struts2?
Mark the differences between html tags and strut specific html tags.
Are struts still used?
What is life cycle of an interceptor?
How to handle exceptions in structs?
What is execute method in struts?
What is the use of jsonvalidation?
Why we use struts in java?
What is s token?
How can we work with error tags?