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 | ||||
| ||||
Ans. 1) It is an Action based MVC based framework which has adopt mvc2. 2) Struts2 is a pull-MVC (or MVC2) framework where action takes the role of the model rather than the controller. The “pull†concepts means views ability to pull data from an action, rather than having a separate model object available. 3) The Model View-Controller pattern in Struts2 is implemented with five core components – actions, interceptors, value stack / OGNL, result types and results / view technologies. 4) XML configuration as well as Annotation option available. 5) POJO based action available so we can write test cases easily. 6) Integration with Spring, tiles and OGNL based expression langugae. 7) Theme based tag libraries integrated with struts tag as well as support of Ajax tag. 8) Can have various view options like jsp, velocity, freemarker etc. 9) We can embed plugin through which we can modify and extend framework features. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  struts2   struts   j2ee | ||||
Related Questions | ||||
What is MVC ? | ||||
Why Struts 1 Classes are not Thread Safe whereas Struts 2 classes are thread safe ? | ||||
How can we manage Error Messages in the web application ? | ||||
Which MVC is struts2 based on ? | ||||
Do we have form beans in Struts 2 ? | ||||
Which web application framework you like and Why ? | ||||
Action Class is singleton and hence not thread safe in .. | ||||
What is struts.devMode? | ||||
Is it possible to configure more than one config file in struts ? | ||||