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
What are the steps required for setting up validator framework in struts?
Which design pattern is implemented by Struts2 interceptors?
How do u provide security to ur project?(Banking domain project)
What is form bean in struts?
What is execute method in struts?
Describe the two types of formbeans.
What is struts framework?
How to handle exceptions in structs?
What is the use of execAndWait interceptor?
how does request processor relates to action mapping?
Which class is the Front Controller in Struts2?
What is the use of struts?
What configuration changes are required to use resource files in Struts?
What are the important methods of actionform?
What is front controller in struts2?