Here is the top part of the JSP:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++
<%@ page import="java.text.*, java.util.*" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/ea/core" %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jstl/ea/sql" %>
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<style>
a{font-family:verdana; font-size:8pt; color:blue; text-decoration:none;
font-weight:bold;}
a:hover{color:red; text-decoration:underline;}
td{font-family:verdana; font-size:8pt; font-weight:bold;}
</style>
<title>Documentum User Activity</title>
</head>
<body>
<!-- Get current date -->
<%
Date d = new Date();
String today = DateFormat.getDateInstance().format(d);
%>
<sql:driver
var="example"
driver="${org.gjt.mm.mysql.Driver}"
url="${dbc:mysql://carlsonr:3306/DocumentumUsage}"
/>
<sql:query var="visitor" dataSource="${example}">
select distinct Authentications.userid, left(Authentications.authtime,10) as
Date, UserInfo.* from Authentications,UserInfo
where (UserInfo.userid=Authentications.userid) and
(Authentications.docbase='eurpr1')
and UserInfo.userid NOT in ('eurpr1','erispre','dmadmin') order by
UserInfo.lastname,Date
</sql:query>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++
Thanks for your time/help.
-----Original Message-----
From: David M. Karr [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 12:07 PM
To: [EMAIL PROTECTED]
Subject: Re: Error using JSTL
>>>>> "Thomas" == Thomas J Zvolensky <Zvolensky> writes:
Thomas> Hi,
Thomas> I'm attempting to use the SQL tags provided with the JSTL 1.0
beta tag
Thomas> library.
Thomas> When I add the following line to my jsp page to import them into
the page:
Thomas> <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/ea/sql" %>
Thomas> I get the following error screen for my page:
Thomas>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thomas> ++++++++++++++++++
Thomas> root cause
Thomas> Unable to parse the expression:
Thomas> org.apache.taglibs.standard.lang.jstl.parser.ParseException:
Encountered ":"
Thomas> at line 1, column 6.
Could you show us the entire JSP, or at least the beginning of it, including
this line?
--
===================================================================
David M. Karr ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>