Is it possible to create mulitple instance of one Action
Class in struts?
Answer Posted / sitaram
Only one instance of action class is created per
application, as we know for each request container will
create separate thread hence for 100 request 100 theads will
be creates and that 100 request can handle
concurrently...(which is executing execute() method of
action class's single instance) i.e. you can say class
variable of action class is not at all thead safe.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Why do we need mapdispatchtoprops?
What are the steps required for setting up validator framework in struts?
What is includeaction?
List some struts tag libraries?
What does the term struts mean?
What are the some useful annotations introduced in struts2?
How nested beans can be used in Struts applications?
What are the core classes of the struts framework?
What validate() and reset() method does ?
Can we have multiple struts config files ?
What is the use of resourcebundle.properties file in Struts Validation framework?
What is purpose of execandwait interceptor?
What is the purpose of @createifnull annotation annotation?
What is container struts2?
Which model components are supported by Struts?