On Wed, 4 Jul 2001 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]