🧪 Struts MCQ Quiz Hub

Struts Mcq Question Set 1

Choose a topic to test your knowledge and improve your Struts skills

1. Abbreviate the term POJO?




2. Struts supports which of these model components?




3. Spring framework provides an difficult way to manage the dependency, It cannot be easily integrated with struts 2 framework.




4. Which validates the given string with the specified regular expression,it can be used in password, security key etc.?




5. Which type of validation we must implement the Validateable interface (or extend ActionSupport class) and provide the implementation of validate method?




6. Abbreviate the term OGNL?




7. Which is used to make asynchronous request i.e. it doesn't block the user and it sends only required field data to the server side not all, So it makes the performance fast?




8. We need to write the controller code self, If we change the controller code, we need to recompile the class and redeploy the application this is a disadvantage of which MVC Architecture?




9. Struts combines which of these in to a unified Framework?




10. Interceptor can change the flow of the application by returning the string.




11. Which configuration files are used in Struts?




12. The workflow interceptor is used to get information about the error messages defined in the action class.




13. What is used to display the intermediate result in an interceptor?




14. Which pattern is the struts framework based?




15. Which interface must be implemented by the Action class to store the information in the session scope?




16. Which servlet does the struts framework use?




17. Which way will the architecture and flow of struts 2 application will go to understand the struts flow?




18. The values configured in struts.properties file will override the default values configured in default.properties which is contained in the struts2-core-x.y.z.jar distribution.




19. A valueStack is a simply stack that contains application specific object is _____ .




20. In which configuration file is there a link between the View and Model components in the Web Client but you would not have to touch these settings for 99.99% of your projects?




21. POJO means you are not forced to implement any interface or extend any class.




22. How many core components does the Model-View-Controller pattern in Struts2 have?




23. The struts 2 framework is used to develop MVC-based web application




24. The i18n interceptor provides multi-lingual support for your application




25. What is responsible in MVC for managing the data of the application which responds to the request from the view as well as to the instructions from the controller to update itself?




26. In which technology Struts 2 provides various types of tags such as UI tags, Data tags, control tags etc. to ease the development of struts 2 application?




27. Which of the following is correct about FreeMaker result type?




28. Which technology can be used at View Layer in Struts?




29. In which configuration file is a link between the View and Model components in the Web Client but you would not have to touch these settings for 99.99% of your projects?




30. ActionServlet, RequestProcessor and Action classes are the components of




31. How to override default configuration of struts 2




32. Which of the following delegates the request handling to the RequestProcessor instance?




33. What is the role of ActionContextCleanUp class in struts 2?




34. Which of the following methods is overridden by Action class?




35. reset() method signature in ActionForm?




36. Which of the following tag is used to render a I18n text message?




37. The Struts Framework is a standard for developing well-architected Web applications, it has the following features?




38. Which method is necessary for Action class?




39. In interceptor which is used to display the intermediate result?




40. Which of the following tags in struts-config.xml file defines the availability of necessary Struts JSP custom tag libraries?




41. What is defeult result type?




42. In Struts, how can we access Java beans and their properties?




43. In the Action interface which constant indicates that action execution is successful but no result should be shown to the user?




44. Struts framework is based on