permaculture playing cards*
The moose likes Tomcat and the fly likes Tomcat and JSTL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat and JSTL" Watch "Tomcat and JSTL" New topic
Author

Tomcat and JSTL

Al Korov
Greenhorn

Joined: Sep 11, 2004
Posts: 21
I want to use the JSTL in a web application. Does the JSTL come with Tomcat, or does it require a separate download?

Can the JSTL be installed only as part of a web application, or can it also be part of the "global" libraries that Tomcat has available, such as those in the common/lib directory? Could any conflicts arise if JSTL 1.1 were in the common/lib, but then a web app included JSTL 1.0?

I understand that Tomcat 5.x supports JSP 2.0, and so would also support JSTL 1.1. Is there any way to run JSTL 1.1 on Tomcat 4.x?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

Does the JSTL come with Tomcat, or does it require a separate download?


Separate.

Can the JSTL be installed only as part of a web application, or can it also be part of the "global" libraries that Tomcat has available, such as those in the common/lib directory?


You can put the jars there, but each web app still needs the appropriate declarations.

Could any conflicts arise if JSTL 1.1 were in the common/lib, but then a web app included JSTL 1.0?


Haven't tried it, but I can't think of any obvious problems.

I understand that Tomcat 5.x supports JSP 2.0, and so would also support JSTL 1.1.


Correct.

Is there any way to run JSTL 1.1 on Tomcat 4.x?


No. JSTL 1.1 requires a container that processes EL.
[ September 18, 2004: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Al Korov
Greenhorn

Joined: Sep 11, 2004
Posts: 21
Thank you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat and JSTL
 
Similar Threads
Tomcat 5.5(tried 6.0 as well)-JSTL 1.1 not resolved
Regarding c:forEach jstl tag.
How do I add custom tag libraries in a JSP page?
Problem in JSTL
First Servlet, Jdbc program :(