No tag "" defined in tag library imported with prefix "c"..??
843840May 22 2008 — edited May 22 2008hi,
i am writing simple jsp page using tag library ..
but when i try to run page i get following error :
org.apache.jasper.JasperException: /JstlTest.jsp(10,1) No tag "" defined in tag library imported with prefix "c"
my jsp page code is as follow.
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<c:set var = "pagetitle">Introduction to Jsp tags</c:set>
<c:set var="no">10</c:set>
<html>
<head>
<title>helloo ${pagetitle}</title>
</head>
<body>
Hello world
<c: if test= "&{no=10}">
it is 10
</c:if>
</body>
</html>
web.xml entries for tlds are as ..
<taglib>
<taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/tld/fmt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/tld/c.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/sql</taglib-uri>
<taglib-location>/WEB-INF/tld/sql.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/x</taglib-uri>
<taglib-location>/WEB-INF/tld/x.tld</taglib-location>
</taglib>
i have put tag libraries jar files in ROOT/WEB-INF folder & tld files in ROOT/WEB-INF/tld folder
please help...
Edited by: mickey007 on May 21, 2008 11:15 PM