Java Glossary : Struts

CMP home Java glossary home Menu no menu Last updated 2004-06-28 by Roedy Green ©1996-2004 Canadian Mind Products

Java definitions: 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

You are here : home : Java Glossary : S words : Struts.

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.

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 logo
CMP_home
home
Canadian Mind Products CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[24.87.56.253]
Your IP:[80.134.30.163]
You are visitor number 3097.
Please send errors, omissions and suggestions
to improve this page to Roedy Green.
You can get a fresh copy of this page from: or possibly from your local J: drive mirror:
http://mindprod.com/jgloss/struts.html J:\mindprod\jgloss\struts.html