This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance 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: 34672
367
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