jQuery in Action, 3rd edition
The moose likes Spring and the fly likes Framework for Web Layer? Struts2 or Spring MVC? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Framework for Web Layer? Struts2 or Spring MVC?" Watch "Framework for Web Layer? Struts2 or Spring MVC?" New topic

Framework for Web Layer? Struts2 or Spring MVC?

Murugesan Pitchandi

Joined: Nov 19, 2008
Posts: 8

I need to choose a web layer for my new application. I am about to go for Spring MVC. But my coleagues are saying that why we can't use Struts2. But they are not able to make me clear and i don't have knowledge on Struts2. Please suggest me which one i can choose and why?

Thanks in advance
Bill Gorder

Joined: Mar 07, 2010
Posts: 1682

If you search this forum you will get different answers its a question that has been asked often. I like Spring MVC but the 2 frameworks are similar in what they offer. I think if you are using other Spring projects that Spring MVC is better just from an integration perspective, although Struts 2 can integrate with Spring too. I think a lot of opinions boil down to which one a person is already the most comfortable with.

Here was one comparison done a while back.
-Note Struts 1 is obviously not considered.

[How To Ask Questions][Read before you PM me]
I agree. Here's the link: http://aspose.com/file-tools
subject: Framework for Web Layer? Struts2 or Spring MVC?
It's not a secret anymore!