[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » JSP
 
RSS feed
 
New topic
Author

JSTL tag library import problem

Sverre Moe
Ranch Hand

Joined: Jul 10, 2007
Messages: 84

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
Messages: 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
Messages: 84

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
Messages: 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
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » JSP
 
RSS feed
 
New topic
hibernate profiler