Spring Questions and Answers – Spring MVC Web Applications and Requests handlers

This set of Java Spring Questions and Answers for freshers focuses on “Spring MVC Web Applications and Requests handlers”. 1. Design pattern implemented by Dispatcher Servlet. a) jsp b) tiles c) front controller d) none of the mentioned 2. Class used to give a class behavior of a Dispatcher Servlet. a) AbstractController b) Controller c) … Read more

advertisement

Spring Questions and Answers – Integrating Spring Web Flow with JSF

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “Creating Beans”. 1. View Technologies to render Spring Web MVC view. a) JSP b) Tiles c) All of the mentioned d) None of the mentioned 2. Submodules of Spring Web Flow to simplify use of JSF and javascript in Spring. a) Spring … Read more

advertisement

Spring Questions and Answers – Securing and persisting objects in Web Flows

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “Securing and persisting objects in Web Flows”. 1. Element which secures web flows. a) secured b) security c) sec d) none of the mentioned 2. To secure web flows with Spring Security. a) DelegatingFilter b) DelegatingFilterProxy c) DelegatingProxy d) None of the … Read more

advertisement

Spring Questions and Answers – Managing Web Flows

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “Managing Web Flows”. 1. Spring supports web flows by:- a) Java b) XML c) All of the mentioned d) None of the mentioned 2. Spring manages UI as flows. a) True b) False 3. Stated related to Spring Web flows. a) view … Read more

advertisement

Spring Questions and Answers – Accessing and Integrating Spring with known Frameworks

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “Accessing and Integrating Spring with known Frameworks”. 1. Servlet listener which loads application context. a) Security:intercept-methods b) global-method-security c) ContextLoaderListener d) None of the mentioned 2. Method to retrieve Spring Applicationcontext. a) WebApplicationContextUtils.getRequiredWebApplicationContext() b) WebApplicationContextUtils.getRequiredWeb() c) WebApplicationUtils.getRequiredWebApplicationContext() d) None of the mentioned … Read more

advertisement

Spring Questions and Answers – Handling Security in Views and Domain object security

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “Handling Security in Views and Domain object security”. 1. Element used to secure methods. a) security:intercept-methods b) global-method-security c) all of the mentioned d) none of the mentioned 2. @Secured annotation is used to secure methods implemented by beans. a) True b) … Read more

advertisement

Spring Questions and Answers – Securing Web Applications

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “Securing Web Applications”. 1. Form-based login is configured by:- a) servlet filters b) refresh-check-delay c) form-login d) none of the mentioned 2. Action URL can be customized using form-login. a) True b) False 3. Attribute used to display custom login page. a) … Read more

advertisement

Spring Questions and Answers – Securing URL Access

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “Securing URL Access”. 1. Way to secure web app’s URL. a) servlet filters b) refresh-check-delay c) http servlet filters d) none of the mentioned 2. Servlet filter registered in web deployment descriptor, which filters request in spring application context. a) DelegatingFilter b) … Read more

advertisement

Spring Questions and Answers – Refreshing and Defining Beans from Scripts

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “Refreshing and Defining Beans from Scripts”. 1. Attribute used by Spring to refresh beans a) refresh-check-interval b) refresh-check-delay c) refresh-delay d) none of the mentioned 2. Spring IoC container refreshes the script periodically according to the interval period specified a) True b) … Read more

advertisement

Spring Questions and Answers – Implementing and Injecting Beans with Scripting Languages

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “Implementing and Injecting Beans with Scripting Languages”. 1. Scripting languages supported by Spring? a) JRuby b) Groovy c) BeanShell d) All of the mentioned 2. Scripting language based on Ruby a) JRuby b) Groovy c) BeanShell d) All of the mentioned 3. … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.