cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: Display nothing
Date Wed, 06 Dec 2000 18:47:57 GMT
On Wed, 6 Dec 2000, [iso-2022-jp] 馬旭 wrote:

> but when I tried to adjust the esql example I use the following source
>
> <?xml version="1.0"?>
>
> <?cocoon-process type="xsp"?>
> <?cocoon-process type="xslt"?>
> <?xml-stylesheet type="text/xsl" href="esql.xsl"?>
>
> <xsp:page language="java"
>   xmlns:xsp="http://www.apache.org/1999/XSP/Core"
>   xmlns:esql="http://apache.org/cocoon/SQL/v2">
>
> <page>
>
> <esql:connection>
>   <esql:driver>sun.jdbc.odbc.JdbcOdbcDriver</esql:driver>
>   <esql:dburl>jdbc:odbc:testweb3d</esql:dburl>
>   <esql:username>testweb3d</esql:username>
>   <esql:password>testweb3d</esql:password>
>   <esql:execute-query>
>     <esql:query>select * from TABLE1</esql:query>
>     <esql:results>
>       <header>header info</header>
>       <esql:row-results>
>         <department>
>           <id><esql:get-int column="id"/></id>
>           <name><esql:get-string column="name"/></name>
>         </department>
>       </esql:row-results>
>       <footer>footer info</footer>
>     </esql:results>
>   </esql:execute-query>
> </esql:connection>
>
> </page>
>
> </xsp:page>
>
> the page display nothing, who can help me?

your page looks fine - check to make sure that esql.xsl exists in your
cocoon jar file and that it's registered in your cocoon.properties file.

- donald


Mime
View raw message