The log file didnt show any error..or may be i am
missing it...

Anyway, I was using following code(note the
esql:error-results) for catching database exceptions..

     <esql:execute-query>
       <esql:query>select * from
department_table1</esql:query>
       <esql:results>
         <esql:row-results>
           <para><esql:get-string
column="name"/></para>
           <esql:get-columns/>
         </esql:row-results>
       </esql:results>
       <esql:error-results>
        <para> this is error </para>
       </esql:error-results>
       
     </esql:execute-query>


*****************************************
--- Mariano Kamp <[EMAIL PROTECTED]> wrote: > Hi,
> 
>   have you checked the logfile (by default it is 
> cocoon/WEB-INF/logs/cocoon.log)?
> 
>   I am also wondering how I can extract the
> exception from an esql query?!?!
> 
> Mariano
> 
> >   I am trying to get the sample sql link from
> welcome
> > page work..the esql link works fine ... but the
> sql
> > link throws blank page ( i mean the static content
> is
> > coming up ) but not the database content..
> 
>
---------------------------------------------------------------------
> Please check that your question has not already been
> answered in the
> FAQ before posting.
> <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail:
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <[EMAIL PROTECTED]>
> 


____________________________________________________________
Do You Yahoo!?
For regular News updates go to http://in.news.yahoo.com

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to