Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSTL Problem

 
Manwatkar Vaibhav
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am try to use JSTL tags..
In my JSP, I have tried using <c:forEach> tag..
At the top, I included the taglib directive as follows..

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

But I am getting an error as :

org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

What is wrong..?
I downloaded & copied the jstl.jar file in /tomcat/common/lib directory which previously I was not having..

What else shall I do..?
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You've forgot standard.jar. Please check the following : http://faq.javaranch.com/view?JstlTagLibDefinitions
 
Manwatkar Vaibhav
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Satou kurinosuke,

I did as U said, and it worked..

Thanks again..!
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic