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
What's the purpose of execute method of action class?
What is Custom Type Converter in Struts2?
What is front controller in struts2?
What are action errors?
Can we handle exceptions in Struts programmatically?
What are interceptors in struts 2?
What is the purpose of @before?
What are the action classes in struts?
What does apache struts do?
What’s the difference between struts and turbine? What’s the difference between struts and espresso?
What configuration changes are required to use resource files in Struts?
Which design pattern is implemented by Struts2 interceptors?
Why use struts framework in java?
Explain struts.devmode?
What does it cost to replace struts?