Search Interview Questions
| 3152 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|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
|Do we have form beans in Struts 2 ?|
|Action Class is singleton and hence not thread safe in ..|