• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

JSTL tag library import problem  RSS feed

 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
See where your hand is? Not there. It's next to this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!