Struts : Java Glossary

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).


CMP homejump to top

available 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
logo
Please email your , letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email. If you want your message, your name or email kept confidential, not considered for public posting, please explicitly specify that. Unless you state otherwise, I will treat your message as a letter to the editor that I may or may not publish in the feedback section. After that, it will be too late to retract it. If you disagree with something I said, especially when sending an ad-hominem attack, a rant composed mainly of obscenities or a death threat, please quote the offending passage and cite the web page where you found it, tell me why you think it is wrong, and, if possible, provide some supporting evidence. I can’t very well fix erroneous or ambiguous text if I can’t find it.
Blog
IP:[65.110.21.43]
Your face IP:[23.22.76.170]
You are visitor number 22,518.