This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Spring MVC v/s Struts MVC  RSS feed

 
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: 37180
515
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
Boost this thread!