aspose file tools
The moose likes JSP and the fly likes JSTL/Apache standard 1.1 lib Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply 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: 56200
    
  13

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56200
    
  13

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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JSTL/Apache standard 1.1 lib
 
Similar Threads
EL works in attr value to html, but not in custom tag attr value
Expression Language problem
Versions of JSTL and EL on a legacy project
JSTL version causing exceptions?
tomcat6: Can't resolve The absolute uri: http://java.sun.com/jsp/jstl/core