Answer Posted / avani
Struts will create a single instance of the Action and
allow multiple threads to invoke execute(). This allows for
faster request processing, as the framework is not
continually creating new Action instances to handle each
request. But because a single object is shared between
multiple threads, you must observe proper threading
considerations, as other threads are likely to pummel
instance variables that hold state in the action.
Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What is the purpose of @stringlengthfieldvalidator annotation?
What is ognl?
How can duplicate form submission be handled in struts 2?
Describe validate() and reset() methods.
What is struts 2 framework in java?
What are the components of struts framework?
What is Struts2?
What is the purpose of @customvalidator annotation?
What is the role of action class in struts?
What is action support class in struts2?
Why it called struts?
Which model components are supported by Struts?
What configuration changes are required to use resource files in Struts?
What is the use of Struts.xml configuration file?
What is the procedure of operation of a form tag?