Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring MVC v/s Struts MVC

 
Vaibhav G Garg
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have developed applications using Struts MVC. Also, have made some POCs on Spring MVC.

I found that all the features are common in both the MVC such as controllers, validation framework, beans etc.

What is the exact difference between Struts MVC and Spring MVC?

When should I opt for Spring MVC rather than Struts MVC and vice-versa?

Thanks in advance.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34095
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts 1 reached end of life so I'm going to assume you are talking about Struts 2. (Struts 1 and 2 are really different frameworks.) This article describes some differences between Spring MVC and Struts 2.

Note that people just say "Struts" and not "Struts MVC" even though it is a MVC framework. With Spring, you have to say MVC because Spring is already the main framework.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic