tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Problems with TomCat 5.0 and SQL tag lib
Date Fri, 28 May 2004 14:07:51 GMT
I'm having a lot of problems connecting to a database using the SQL
tag-lib. I'm using Tomcat 5.0 on Windows. Here is the web.xml source:


<?xml version="1.0" encoding="ISO-8859-1"?>


<!DOCTYPE web-app

    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"



<web-app version="2.4">


  <display-name>Welcome to Tomcat</display-name>



     Welcome to Tomcat
















Here is my jsp source:


<%@ taglib prefix="sql" uri="" %>

<%@ taglib prefix="c" uri="" %>



<sql:setDataSource var="datasource"  








<sql:query var="results" dataSource="${datasource}">

       select URL,org from wcCheckurls

                        where status='UNRESOLVED'





<c:forEach var="row" items="${results.rows}"  

      varStatus="counter"  >









I have put the jstl and standard jar files in my web-inf\lib directory.
I have put the slq.tld and c.tld files in my web-inf directory. When I
run the jsp page I get "no suitable driver" found. I'm running


I wasn't having any problems like this with Tomcat 4. Any help I could
get would be great.






  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message