cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gergely Imre <gi...@nextra.ro>
Subject Please, help me :-(
Date Sat, 30 Sep 2000 16:21:58 GMT
Somebody please tell me, what's wrong with that:

<?xml version="1.0"?>
 
<?cocoon-process type="xsp"?>
 
<xsp:page language="java"
          xmlns:sql="http://www.apache.org/1999/SQL"
          xmlns:xsp="http://www.apache.org/1999/XSP/Core">
 
<page>
  <sql:execute-query>
    <sql:driver>org.gjt.mm.mysql.Driver</sql:driver>
    <sql:dburl>jdbc:mysql://foo.com/accounting</sql:dburl>
    <sql:username>root</sql:username>
    <sql:doc-element>ROWSET</sql:doc-element>
    <sql:row-element>ROW</sql:row-element>
    <sql:query>select 10.0 as alma</sql:query>
  </sql:execute-query>
</page>
 
</xsp:page> 


I get the error:

>>>
java.lang.ArrayIndexOutOfBoundsException: 4
>>>

I know, I know this is a Java error, but if I try with the query:

<sql:query>select 10 as alma</sql:query>

it works.
What could be wrong?
Thanx

--
GImre 
-> ICQ# 86297366

Mime
View raw message