What is the difference between struts and spring? Explain



What is the difference between struts and spring? Explain..

Answer / 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

More Struts Interview Questions

How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?

1 Answers  


What is the use of ActionErrors in Struts

1 Answers  


Explain design patterns which is used in struts?

1 Answers  


What do you mean by struts.dev mode?

1 Answers  


What is the difference between requestaware and servletrequestaware interface?

1 Answers  


How exceptions are handled in struts application?

1 Answers  


diffrence between dispatch action and lookupdispatch action write simple web appliction (insert records in database)

8 Answers   Athena Health Care, Symphony, TCS,


What is the purpose of @before annotation?

1 Answers  


struts 1.3 features?

1 Answers   Integra, Zensar,


What is the purpose of @conversion annotation annotation?

1 Answers  


How do I access token?

1 Answers  


How is the Struts framworl related to MVC2?

2 Answers   Wipro,


Categories