Galera…estou tentando rodar uma coisa básica com hibernate e tags libs…só que a desgraça do tomcat me resulta o seguinte erro:
The absolute uri: http://java.sun.com/jsp/jstl/sql cannot be resolved in either web.xml or the jar files deployed with this application
Os arquivos tld já estão no diretório WEB-INF e as libs do jstl 1.1 estão tb no WEB-INF/lib
A configuração da URI já foi feita no web.xml:
web.xml
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/sql</taglib-uri>
<taglib-location>/WEB-INF/sql.tld</taglib-location>
</taglib>
index.jsp
<%@page contentType="text/html; charset=ISO-8859-1" language="java" import="java.sql.*"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<sql:query var="rs" dataSource="jdbc/ecommerce">
select name, sex from cat
</sql:query>
<html>
<head>
<title>DB Test</title>
</head>
<body>
<h2>Results</h2>
<c:forEach var="row" items="${rs.rows}">
Name ${row.name}<br/>
Sex ${row.sex}<br/>
</c:forEach>
</body>
</html>
O que pode ser esta droga ???