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

JSTL/Apache standard 1.1 lib

Zakas Banda

Joined: Dec 29, 2008
Posts: 5

We are now using JSP 2.0 container (tomcat 6). With this, I would also want to upgrade to jakarta taglibs standard-1.1.2. The zip file contains three TLD files for C lib ...

A. c.tld
B. c-1_0.tld
C. c-1_0-rt.tld

And I am confused which one to use. Following are my questions:

0. What are the differences among these three TLDs?

1. We use quite a lot of EL (for ex. in <cut/>s). Does it mean (B) is the option for me?

2. Why (B) and (C) still having version number as 1.0? Is EL not the future?

I will appreciate your help.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63844

In your pages use the correct URI for the JSTL 1.1 and the container will automatically pick the correct TLD. You don't do anything except drop the jar files into WEB-INF/lib.

Do not, under any circumstances, extract TLD files from the jar files.

[Asking smart questions] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63844

Oh, to answer your questions:

0) The 1.0 tlds are for backward compatibility with JSTL 1.0. They are of no interest to you.

1) No.

2) See (0)
I agree. Here's the link:
subject: JSTL/Apache standard 1.1 lib
It's not a secret anymore!