This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 60785

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] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60785

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
Similar Threads
tomcat6: Can't resolve The absolute uri:
Expression Language problem
Versions of JSTL and EL on a legacy project
JSTL version causing exceptions?
EL works in attr value to html, but not in custom tag attr value