I'm trying to get connected to Oracle. I downloaded the oracle jdbc thin
driver & the jstl tag library.

Getting this error on the jsp page

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

code sample....

<[EMAIL PROTECTED] contentType="text/html"%>
<html>
<head><title>CD Catalog List</title></head>
<% @ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql"; %>
<body>
<h1> CD Catalog List </h1>

<sql:setDataSource var="productDS" url="jdbc:oracle:thin:@xxxx:1521:yyyy"
driver="oracle.jdbc.driver.OracleDriver" user="xxxx" password="xxxx" />

<sql:query var="pubQuery"  dataSource="${productDS}"  >
        SELECT * FROM publication 
</sql:query>

-----Original Message-----
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 4:00 PM
To: Tomcat Users List
Subject: Re: Oracle Type 4 Driver


On Wed, 28 May 2003 03:50, Schwartz, David (CHR) wrote:
> thanks. got it.
> can you point me to a simple example of using it in servlet with basic
> select statement (to help get started)?

A quick google turned up:

http://www.classicity.com/oracle/htdocs/forums/ClsyForumID124/7.html

You would be wise to look into the JNDI datasource example on the 
jakarta.apache.org site though to handle your datasources better. :)

Regards,
-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
[EMAIL PROTECTED] 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to