• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

spring and struts

 
Em Aiy
Ranch Hand
Posts: 226
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a simple question: Why should we need struts if we are using spring as middle layer (for ioc and other things)??
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're using Spring MVC, you don't, unless you happen to like Struts better.

If you're just using spring for IoC and "other things" that don't include the web layer, then you still need a web layer.
 
Hong Anderson
Ranch Hand
Posts: 1936
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you use Spring Web MVC no need using Struts.
 
Dawn Charangat
Ranch Hand
Posts: 249
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts is an MVC for the web [presentation & controller] layer, as opposed to spring, which in itself is a huge collection of application frameworks with range from web, to database, IOC, AOP, OSGi, MVC to name a few. So if you use SpringMVC for your web layer MVC needs, then you wouldn't need to go for struts, as they pretty much are used for the same purpose [unless you have a personal inclination to one among them].
 
Em Aiy
Ranch Hand
Posts: 226
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for help ..
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic