Funny you asked, I had the same question.. this is from the Taglibs mailing
list

> Just a curiousity question. What is the advantages of using one over
> the other? For example, alot of the tags seem to be doing the same
> type of tasks. (ex. Foreach versus Iterate). Why would one pick one
> approach over another? -Tim

My impression is that Struts will eventually accommodate the standard
taglib (JSTL) and integrate well with it.  The other taglibs in Jakarta
Taglibs are essentially just separate offerings from Struts, attempting to
address different needs (or similar needs from a different perspective).

--
Shawn Bayern
Author, "JSP Standard Tag Library"  http://www.jstlbook.com
(coming this summer from Manning Publications)

-----------
This also:

Struts contains several different tag libraries. Some, like the 'logic'
taglib, will most likely be deprecated at some point, in favour of JSTL.
Others, such as the 'html' taglib, integrate more tightly with the Struts
framework, reducing the amount of work you have to do to hook your JSP pages
up to your ActionForm and Action instances.

If you're using Struts as your application framework, then it definitely
makes sense to use the Struts 'html' taglib. It also makes sense to look at
using JSTL for the less Struts related pieces of your pages. The two should
work together without problems.

--
Martin Cooper

-Tim

-----Original Message-----
From: Tom Kochanowicz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 12:25 AM
To: [EMAIL PROTECTED]
Subject: Need Help w/ MVC and Database Question #2


Many thanks to those who responded to my question. I have a second question
along the same line (kind of). What is the difference between "struts" and
"jstl" (java standard tag library)? Is struts designed specifically for the
MVC architecture where jstl isn't ?

Sincerely,

Tom Kochanowicz

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to