File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Apache Taglibs vs sun JSTL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Apache Taglibs vs sun JSTL" Watch "Apache Taglibs vs sun JSTL" New topic

Apache Taglibs vs sun JSTL

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi, wondering are both of apache taglib and sun JSTL same ? when people talking about taglib ? is it refering to apache taglib or jstl ?

what is the different between this two?

thank you very much for answering
James Carman
Ranch Hand

Joined: Feb 20, 2001
Posts: 580
Apache has an implementation of JSTL in the Jakarta Taglibs project. Is that what you mean? JSTL is the standard and Apache has an implementation of the standard. It's similar to how there's a Servlet/JSP specification and Tomcat is the reference implementation.

James Carman, President<br />Carman Consulting, Inc.
Mark Vedder
Ranch Hand

Joined: Dec 17, 2003
Posts: 624

Something to keep in mind is that Apache's Jakarta Taglib Project has a large number of taglibs available: "Application", Benchmark", "DateTime", and many others listed on their site.

One of the most significant taglibs is the reference implementation of the Sun "JSP Standard Tag Library" (JSTL)specification (as James mentions). This taglib is often referred to simply as the "Standard Taglib". But I have sometimes seen people simply (and confusingly) refer to it as "The Apache Taglib".

Also keep in mind that "taglib" is a generic term/abbreviation referring to a JSP Custom Tag Library. It does not necessarily mean a JSTL implementation, or the Apache Standard Taglib.
[ February 16, 2005: Message edited by: Mark Vedder ]
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
thank you for answering , James Carman and Mark Vedder !
I agree. Here's the link:
subject: Apache Taglibs vs sun JSTL
It's not a secret anymore!