Struts : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (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 XML (extensible Markup Language). Struts encourages application architectures based on the Model 2 approach, a variation of the classic MVC (Model-View-Controller) 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 EJB (Enterprise Java Beans) (EJB), JDBC and Object Relational Bridge. For the View, Struts works well with JSP (Java Server Pages), 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 in an EJB womb such as Caucho Resin EE (Enterprise Edition).

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 (Java Development Kit), a servlet womb and JSTL (Java Server Pages Standard Tag Library).


This page is posted
on the web at:

http://mindprod.com/jgloss/struts.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\struts.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[54.226.25.246]
You are visitor number