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
Which configuration files are used in struts?
How is token generated?
Why we use struts over servlets?
What is the purpose of @action annotation?
Explain the core end goal while using java struts?
What is struts actionmapping?
Is struts action class singleton?
What are the benefits of the struts system?
Describe the mvc on struts?
What is jakarta struts framework?
what is ACID test for fresh engineers??what is the pattern??
What is struts validator framework?
What is controller in struts2?
What are the features of struts?
What are the loop holes of struts?