File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts architecture Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts architecture" Watch "Struts architecture" New topic
Author

Struts architecture

John King
Ranch Hand

Joined: Aug 27, 2002
Posts: 165
Is Struts framework based MVC? Does Struts
add new things to MVC?
Jason Menard
Sheriff

Joined: Nov 09, 2000
Posts: 6450
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

Joined: Aug 27, 2002
Posts: 165
Thanks Jason.
What makes Struts so popular? The taglibs?
Easy to use? or open source and free? How stable
is it?
Jason Menard
Sheriff

Joined: Nov 09, 2000
Posts: 6450
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts architecture