File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Connection pooling in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Connection pooling in jsp" Watch "Connection pooling in jsp" New topic

Connection pooling in jsp

jyothi nalam

Joined: Oct 25, 2006
Posts: 24
I am not able to connect to the database. following are the files that could help you help me,



<description>DB Connection Pooling</description>
<res-auth> Container</res-auth>

my jsp file

<%@ taglib uri="/WEB-INF/sql.tld" prefix="sql" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>

<title>DB Test</title>


<sql:query var="rs" dataSource="jndi">
select * from games

<c:forEach var="row" items="${rs.rowsByIndex}">
<cut value="${row[0]}"/>

<input type="submit" value="delete"/><br>


My Error is
Cannot create JDBC driver of class '' for connect URL 'null'"
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

jyothi t,
Welcome to JavaRanch!

We're pleased to have you here with us in the JSP forum, but there
are a few rules that need to be followed, and one is that proper names are
required. Please take a look at the
JavaRanch Naming Policy and
adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

You can use an initial for the first name but not the last.

You can change it here

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Connection pooling in jsp
It's not a secret anymore!