Struts is a open source framework which make building of the web applications easier based on the java Servlet and JavaServer pages technologies.
Struts framework was created by Craig R. McClanahan and donated to the Apache Software Foundation in 2000. The Project now has several committers, and many developers are contributing to overall to the framework.
Developing web application using struts frame work is fairly complex, but it eases things after it is setup. It encourages software development following the MVC design pattern. Many web applications are JSP-only or Servlets-only. With JSP and Servlets, Java code is embedded in the HTML code and the Java code calls println methods to generate the HTML code respectively. Both approaches have their advantages and drawbacks; Struts gathers their strengths to get the best of their association.
Struts is based on Model-View-Controller (MVC) design paradigm, it is an implementation of JSP Model 2 Architecture. For more of Model-View-Controller (MVC) click here.
Consists of 8 Top-Level Packages and approx 250 Classes and Interfaces.
Struts is a set of cooperating classes, servlets, and JSP tags that make up a reusable MVC 2 design. This definition implies that Struts is a framework, rather than a library, but Struts also contains an extensive tag library and utility classes that work independently of the framework.
In this tutorial you will see how the DynaActionForm eliminates the
need to create a seperate ActionForm for each Action class and allows
you to easily define the Form object in the xml declaration file.
In this tutorial you will learn how to export a datagrid to excel,
pdf, cvs or xml file using display tag in Struts. You will also see how
to use the group and the media attributes of the display:column tag.