cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Diego Moller" <diego_mol...@hotmail.com>
Subject Re: Nothing when using sql-tag lib
Date Tue, 27 Jun 2000 11:09:43 GMT
Hi Donald,

Sorry but if an normal XML/SQL-request like this works perfectly.

-------------------
<?xml version="1.0"?>

<?cocoon-process type="sql"?>
<?xml-stylesheet href="login-html.xsl" type="text/xsl"?>
<?xml-stylesheet href="login-wml.xsl" type="text/xsl" media="wap"?>
<?cocoon-process type="xslt"?>

<login>

<connectiondefs>
  <connection name="database01">
   <driver>org.gjt.mm.mysql.Driver</driver>
   <dburl>jdbc:mysql://127.0.0.1:3306/hcc</dburl>
  </connection>
</connectiondefs>

<query connection="database01">
  select * from emp
</query>
<besked>
<text>Hej</text>
</besked>
</login>
---------------------------

Shouldn't this be indicating that the JDBC-driver is installed correctly???

This is what I have in my server engine's(Jserv.properties) classpath

---------
wrapper.classpath=/usr/local/mysql-driver.jar
---------

Sorry if I'm a bit slow I just have a hard time understanding this:)

Thanx
Diego


>From: Donald Ball <balld@webslingerZ.com>
>Reply-To: cocoon-users@xml.apache.org
>To: cocoon-users@xml.apache.org
>Subject: Re: Nothing when using sql-tag lib
>Date: Mon, 26 Jun 2000 12:37:43 -0400 (EDT)
>
>On Mon, 26 Jun 2000, Diego Moller wrote:
>
> > Hi Donald,
> >
> > Thanks for your reply, but I don't think this is the problem since this
> > example where I don't use sql-tag-lib works perfectly.
>
>all this indicates is that XSP works. my suggestion was that the mysql
>JDBC driver is not in your servlet engine's CLASSPATH.
>
>- donald
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


Mime
View raw message