Answer Posted / shakthi kumar
Action class is not thread safe, multiple threads will be
created for multiple requests to execute method, there is
no point in creating instance for each request. Also,
Action class is not a servlet, it just acts as an
intermediate between your business delegator (Action
Servlet) and your business layer only if designed properly.
Is This Answer Correct ? | 22 Yes | 6 No |
Post New Answer View All Answers
Give an alternative way to protect jsp’s with not much features from direct access.
Which design pattern is implemented by Struts2 interceptors?
What is interceptor struts2?
How do struts work?
What is the use of interceptor?
What are the action classes in struts?
Give the details of xml files used in validator framework?
What is the purpose of @requiredstringvalidator annotation?
What do you mean by the abstract package in struts2, and what is its utilization?
What are Struts2 core components?
What is jakarta struts framework?
What is the purpose of @doublerangefieldvalidator annotation?
What is the different actions available in struts?
What is the struts in java?
What is the life cycle of actionform?