adspace


What is the difference between struts and spring? Explain

Answer Posted / Prafull Gupta

Struts and Spring are both Java web frameworks but have different focuses. Struts primarily focuses on building MVC architectures, handling form submissions, and providing a default set of validators. Spring, on the other hand, is more comprehensive, providing support for IoC (Inversion of Control), AOP (Aspect-Oriented Programming), and has robust data access layers (JDBC, JPA, Hibernate).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is action chaining ?

1164


How is declarative handling of exceptions done in struts ?

1006


What is the difference between filters and interceptors ?

1311


What are the contents on web.xml in struts application ?

1068


What do you know about validation plugin ?

1028