This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSTL/Apache standard 1.1 lib" Watch "JSTL/Apache standard 1.1 lib" New topic
Author

JSTL/Apache standard 1.1 lib

Zakas Banda
Greenhorn

Joined: Dec 29, 2008
Posts: 5
Friends,

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.

-Z
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

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
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

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)
 
Consider Paul's rocket mass heater.
 
subject: JSTL/Apache standard 1.1 lib
 
Similar Threads
tomcat6: Can't resolve The absolute uri: http://java.sun.com/jsp/jstl/core
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