This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSP and the fly likes JSTL tag library import problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "JSTL tag library import problem" Watch "JSTL tag library import problem" New topic
Author

JSTL tag library import problem

Sverre Moe
Ranch Hand

Joined: Jul 10, 2007
Posts: 110
Previously I have used
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> for the JSTL tag library while using IBM RAD7. Now when I tried it in a web project in Eclipse 3.3 I get the error: "Cannot find the tag library descriptor for http://java.sun.com/jsp/jstl/core"

There can't be any Internet connection problem because I also use a Spring tag which URI(http://www.springframework.org/tags) does not produce such an error.
[ July 30, 2007: Message edited by: Sverre Moe ]
Michael Ku
Ranch Hand

Joined: Apr 20, 2002
Posts: 510
What release of JSP is the Eclipse project using? Tag libs in JSP 2.0 can be either under WEB-INF or in a jar file under lib. If you can locate the TLD you can check to see what the uri value should be.
Sverre Moe
Ranch Hand

Joined: Jul 10, 2007
Posts: 110
Originally posted by Michael Ku:
What release of JSP is the Eclipse project using? Tag libs in JSP 2.0 can be either under WEB-INF or in a jar file under lib. If you can locate the TLD you can check to see what the uri value should be.


I don't know, its Eclipse 3.3. The project was created with Dynamic Web Module 2.4 and Java 1.5. but I have also tried with 2.5 with no effect.

Anyway. This problem does not occur with Eclipse 3.2
[ July 30, 2007: Message edited by: Sverre Moe ]
Michael Ku
Ranch Hand

Joined: Apr 20, 2002
Posts: 510
You could always download the JSTL yourself and place it into you web app following the rules for where to place TLDs. The uri should not change since it is the standard name for the JSTL uri
 
GeeCON Prague 2014
 
subject: JSTL tag library import problem