cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: [C1.8.1-dev] ESQL problem
Date Fri, 29 Sep 2000 01:40:36 GMT
On Thu, 28 Sep 2000, Drasko Kokic wrote:

> Okey, I need to ask for help now ... I am trying to
> use the ESQL taglib for the first time and am having
> NPE trouble.  The code fragment is like this:
> 
> <esql:execute-query>
>  
> <esql:driver>oracle.jdbc.driver.OracleDriver</esql:driver>
>  
> <esql:dburl>jdbc:oracle:thin:@localhost:1521:myDB</esql:dburl>
>   <esql:username>system</esql:username>
>   <esql:password>manager</esql:password>
>>>>>>>>>>>>>>>>>>>>   <esql:execute-query>
>     <esql:query>select SYSDATE from dual</esql:query>
>     <esql:results>
>       <SYSDATE><esql:get-string
> column="SYSDATE"/></SYSDATE>
>     </esql:results>
>>>>>>>>>>>>>>>>>>>>   </esql:execute-query>
>   <esql:no-results>
>     <error>no results were found</error>
>   </esql:no-results>
>   <esql:error-results>
>     <message><esql:get-message/></message>
>     <stacktrace><esql:get-stacktrace/></stacktrace>
>   </esql:error-results>
> </esql:execute-query>

you should not have the two lines that i indented. boy, it would be nice
if logicsheets could validate their input...

- donald


Mime
View raw message