• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts architecture

 
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is Struts framework based MVC? Does Struts
add new things to MVC?
 
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Struts Framework is based on MVC. As far as new things to MVC, there are as many variations in how to implement MVC as there are programmers, so I'm not really sure what you mean.
One thing that comes to mind that I hadn't really used before Struts was something like their ActionForm classes. Struts also has a nice set of custom jsp tags that come bundeled with it. Otherwise it's a failry straight implementation of MVC using the Command design pattern and an xml config file for the controller.
 
John King
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jason.
What makes Struts so popular? The taglibs?
Easy to use? or open source and free? How stable
is it?
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by John King:
Thanks Jason.
What makes Struts so popular? The taglibs?
Easy to use? or open source and free? How stable
is it?


Yes to all of the above. Writing a web application using MVC is such a common task, that often people would write their own framework. Struts provides a robust framework for you, no need to spend your time rolling your own, letting you concentrate on the task at hand.
I haven't used the beta (lots of people have though), but their stable release is, well, stable. No problems that I've heard about or experienced.
 
and POOF! You're gone! But look, this tiny ad is still here:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic