File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Spring MVC v/s Struts MVC

Vaibhav G Garg
Ranch Hand

Joined: Sep 23, 2011
Posts: 140
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30123
    
150

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring MVC v/s Struts MVC
 
Similar Threads
MVC for spring+hibernate projects
struts vs spring framework
Integrating Struts with Spring Problem
Spring
Spring and EJBs