File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes Spring MVC v/s Struts MVC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring MVC v/s Struts MVC" Watch "Spring MVC v/s Struts MVC" New topic

Spring MVC v/s Struts MVC

Vaibhav G Garg
Ranch Hand

Joined: Sep 23, 2011
Posts: 141
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

Joined: May 26, 2003
Posts: 33102

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.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Spring MVC v/s Struts MVC
It's not a secret anymore!