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
Who wrote struts?
State the procedure for using forward attribute of link tag’s.
What are the some useful annotations introduced in struts2?
Which configuration file is used for storing jsp configuration information in struts?
how does request processor relates to action mapping?
How is the action mapping specified?
Is struts action class singleton?
What is dispatch action class?
Explain design patterns which is used in struts?
Why was reload removed from struts (since 1.1)?
What are the important methods of actionform?
How does interceptor work in struts2?
Explain struts?
Name the different types of actions found in struts.
What are the various struts tag libraries?