Struts : Java Glossary

go to home page S words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish by Roedy Green ©1996-2008 Canadian Mind Products
index page for letter ⇒ punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all)
Struts
an open source framework for building web applications. It is a sort of glue for tying together things like Java Servlets, JavaBeans, ResourceBundles, and Extensible Markup Language (XML). Struts encourages application architectures based on the Model 2 approach, a variation of the classic Model- View-Controller (MVC) design pattern.

The name Struts is a reference to struts in the architectural sense, a reminder of the nearly invisible pieces that hold up buildings, houses, and bridges.

Struts is the invisible, behind the scenes controller component that integrates with other technologies to provide the Model and the View. For the Model, Struts can interact with any standard data access technology, including Enterprise Java Beans (EJB), JDBC, and Object Relational Bridge. For the View, Struts works well with JavaServer Pages (JSP), including JSTL and JSF, as well as Velocity Templates, XSLT, and other presentation systems.

Typically you use Struts with a Servlet womb such as Tomcat or EJB womb such as Caucho Resin EE.

Struts has a highly annoying classpath bug/feature. You may not put the struts jar files on the classpath, yet you can’t compile unless they are there. The problem is the womb has its own versions of some of these same classes. So you must copy the *.jar files from the struts lib into the WEB-INF\lib directory of every individual application. Neither the struts nor the Resin documentation explains this. This copying is not so onerous where there is symbolic link operating system support to a single copy.

Struts requires the JDK, a servlet womb and JSTL.


CMP homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.59] Take the DavidSuzuki.org nature challenge
You are visitor number 18,339.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/struts.html J:\mindprod\jgloss\struts.html