Search Interview Questions | More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know. |
|
| ||||
- Interview Questions and Answers for 'Struts 1' - 1 question(s) found - Order By Newest | ||||
| ||||
Ans. Struts 1 actions are singleton. So all threads operates on the single action object and hence makes it thread unsafe. Struts 2 actions are not singleton and a new action object copy is created each time a new action request is made and hence its thread safe. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   j2ee   mvc frameworks   struts   struts1   struts2   struts 1   struts 2   architecture | ||||
Try 1 Question(s) Test | ||||
Related Questions | ||||
Do we have form beans in Struts 2 ? | ||||
Action Class is singleton and hence not thread safe in .. | ||||