The best place to start is the Struts web site:

http://jakarta.apache.org/struts/

In the Resources section, you'll find links to many articles on Struts, and
also on MVC in general.

Regarding tag libraries, the Struts taglibs do have some overlap with JSTL.
In particular, the Struts 'bean' and 'logic' taglibs overlap with the JSTL
'c' and 'fmt' taglibs. This is at least in part because the Struts tags
predate JSTL, and in fact strongly influenced the design of the equivalent
JSTL tags. Over time, Struts developers will be encouraged to migrate
towards JSTL tags in areas where they overlap. However, the Struts tags do
work in a JSP 1.1 container, while the JSTL tags do not.

On the other hand, Struts does not have the equivalent of the JSTL 'sql' and
'xml' taglibs, while JSTL does not have the equivalent of the Struts 'html',
'template' or 'tiles' tags. The 'html' tags in particular are strongly tied
to Struts because they provide facilities for population and validation of
the view.

Building a Struts app with JSTL gives you the best of both worlds. All of
the various taglibs are available to you, and using Struts will help you to
structure you application in a way that makes it easier to design, build,
maintain, and extend.

--
Martin Cooper


> -----Original Message-----
> From: Tim Ringwood [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 17, 2002 6:50 AM
> To: [EMAIL PROTECTED]
> Subject: Struts
> 
> 
> I am newbie to JSP, XSL, custom tags and JSTL. Been
> playing around with it all those for about one month.
> 
> I can do what I need to, but next on my list to give a
> look over was struts.
> 
> First do JSTL and struts work together or are they
> incompatible?
> 
> What do folks things of struts? On the surface they
> appear to a lot of work and I am not quite sure what
> I'd be achieving that I haven't already achieve in
> terms both functionality and the desire not to mix
> HTML content and programming logic.
> 
> Is there a good white paper or discussion on the
> benefits and deficits of these various solutions?
> 
> tim
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Autos - Get free new car price quotes
> http://autos.yahoo.com
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



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

Reply via email to