The ActionForms are just JavaBeans in the standard request or session
scope, and available to any servlet process in the Application. 

Most of the other Struts elements are just application scope objects,
which are also avaialble to any servlet process in the application, or
request attributes (errors) or session attributes (locale). 

The Struts taglibs just happen to know what attribute name to look under
for these objects, and which scope to find them in. 

It's important to remember that Struts does not render the JSPs. This is
done by the container, usually through a service like Tomcat's Jasper. 

Anything with access to the servlet context can do the same things that
the taglibs do, just as the Velocity/Struts kit does. 

http://husted.com/struts/resources/velstruts.zip

Here, the functionality of the Sturts taglibs is provided as standard
objects that other presentation layer devices can easily access.


-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Java Web Development with Struts.
-- Tel +1 585 737-3463.
-- Web http://www.husted.com/struts/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to