• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

why is struts used in spring project for UI when spring itself has full fledged MVC on its own.

 
Ranch Hand
Posts: 2622
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have seen projects where Spring IOC is used and struts has been used for UI but this confuses me because Spring had full fledged MVC on its own so when one is used Spring then why use Struts instead of using Spring MVC..?
thanks
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Monica. Shiralkar wrote:I have seen projects where Spring IOC is used and struts has been used for UI but this confuses me because Spring had full fledged MVC on its own so when one is used Spring then why use Struts instead of using Spring MVC..?
thanks



Many possible reasons. Number being that they already had a Struts web app for a while before they brought in Spring and didn't want to have to re-write everything again like a big bang change.

Maybe they like Struts better than Spring MVC.

Many reasons.

Mark
 
Ranch Hand
Posts: 608
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
a) Lot of people familiar in the team with struts.
b) Existing code based on struts
c) Struts is good framework with plugin to add reusable components

and so on. Like Mark says a lot of reasons.

Is there a particular reason you asked the question (only trying to ask to see if there was a use case the OP had in mind and there might be a more specific answer.)
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic