cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: mySQL, jdbc and ESQL
Date Thu, 05 Jul 2001 03:13:59 GMT
On Wed, 4 Jul 2001 francesco.casalena@virgilio.it wrote:

> This is my XML code:
> ------
> <xsp:page
>         laguage="java"
>         xmlns:xsp="http://www.apache.org/1999/XSP/Core"
>         xmlns:esql="http://apache.org/cocoon/SQL/v2"
> >
> ...
> <esql:connection>
> <esql:driver>org.gjt.mm.mysql.Driver</esql:driver>
>         <esql:dburl>jdbc:mysql://localhost/test</esql:dburl>
>         <esql:username>fku</esql:username>
>         <esql:password></esql:password>
>         <esql:execute-query>
>                 <esql:query>select * from prova</esql:query>
>
>                 <esql:results>
>                         <ROWSET>
>                          <esql:row-results>
>                           <ROW>
>                            <esql:get-columns/>
>                           </ROW>
>                          </esql:row-results>
>                         </ROWSET>
>                 </esql:results>
>
>         </esql:execute-query>
> </esql:connection>

note you're not even using the connection pool you created, but that's
beside the poitn. the problem seems to be the the esql:connection element
doesn't fall underneath a real element, it's right underneath xsp:page.

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message