cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "OD" ...@feersumendjinns.com>
Subject Re: esql Small Problem!!!!
Date Tue, 26 Sep 2000 16:01:13 GMT
Sorry have to check... Have you got

<?xml version="1.0"?>

<?cocoon-process type="xsp"?>
<?xml-logicsheet
href="resource://org/apache/cocoon/processor/xsp/library/sql/esql.xsl"?>

at the start of the .xml page?

Corey O'Donovan

----- Original Message -----
From: mohamed ramzy <m_ramzy@yahoo.com>
To: Cocoon list <cocoon-users@xml.apache.org>
Sent: Tuesday, September 26, 2000 4:47 PM
Subject: esql Small Problem!!!!


> hi
> i've faced a problem in esql which is:
> i've writen the following xml file
>
> <xsp:page language="java"
> xmlns:esql="http://www.apache.org/cocoon/SQL/v2"
> xmlns:xsp="http://www.apache.org/1999/XSP/Core">
> <tst>
>
> <esql:execute-query>
> <esql:driver>org.postgresql.Driver</esql:driver>
> <esql:dburl>jdbc:postgresql://localhost/mrz</esql:dburl>
> <esql:username>mrz</esql:username>
> <esql:password>mrz</esql:password>
> <esql:query>select * from usr</esql:query>
> <esql:results>
> <id><esql:get-string column="id"/></id>
> <fname><esql:get-string column="fname"/></fname>
> <lname><esql:get-string column="lname"/></lname>
> <bgcolr><esql:get-string column="bgcolr"/></bgcolr>
> </esql:results>
> </esql:execute-query>
>
> </tst>
> </xsp:page>
>
> then i had an error message
>
> Null Pointer Exception
>
> would anyone could help me to solve this problem, by
> the way i've tried the Driver and the psql itself by
> writing a java class and it worked ok...so i don't
> know what can i do with this problem in cocoon...
>
> Thanx in Advance
>
> =====
> Mohamed Ramzy Zakaria, Graduate Research student
> School of Computer Science & Information Technology
> Jubilee Campus, Nottingham University
> Nottingham, UK
> TEL: 00 44 (0)115 84 66529
> MOB: 00 44 (0)7947105251
> MOB E-MAIL: m_ramzy@quios.com
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message