cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "davide semprini" <>
Subject AGAIN error null pointer ESQL
Date Wed, 22 Nov 2000 14:55:58 GMT
tanks for reply me ,
but the error persist
I have to create also the xsl stylesheet
to display the rowset? I don't think so,
my file is correct but why null pointer error?

---------- dadde.xml----------------

<?xml version="1.0"?>
<?cocoon-process type="xsp"?>
     <esql:query>select nome from dati</esql:query>

       <nome><esql:get-string column="nome"/></nome>
       <blank>No results returned</blank>
       <error>There was a database error</error>


I have to set in my another setting
about esql?

tanks a lot !!!!!!!

>From: Kevin Sonney <>
>Subject: Re: error null pointer ESQL
>Date: Wed, 22 Nov 2000 09:37:55 -0500 (EST)
>Davide -
>On Wed, 22 Nov 2000, davide semprini wrote:
> > i try to work in cocoon with this file:
> >
> > dadde.xml--------------------------
><trim />
>Looking at the doc, The first thing I'd do is put the return data from the
>row-results into a tag, and catch the other conditions, like so :
><!-- result processing -->
><!-- if we have data returned -->
><nome><esql:get-string column="nome"/></nome>
><!-- if no data is returned -->
><blanco>No results returned</blanco>
><!-- error in resultset -->
><error>There was a database error</error>
><!-- end result processing -->
>| Kevin Sonney |
>| Systems Programmer |
>"The weakest link in any civil rights case is always the
>defendant. Imagine being a lawyer and getting a call from me. That's why I
>try to, uh, behave myself." - Hunter S. Thompson
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Get more from the Web.  FREE MSN Explorer download :

View raw message