cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh.Arra" <raje...@enlume.com>
Subject Accessing the database
Date Thu, 24 Feb 2005 13:04:24 GMT
Hi,
 
Where I have to write code (below) for accessing the data from database.
I configured web.xml, cocoon.xconf, sitemap.xmap for mysql server
 
 
<page>
   <title>Hello</title>
   <content>
    <para>This is my first Cocoon page filled with sql data!</para>
    <execute-query xmlns="http://apache.org/cocoon/SQL/2.0"> 
     <query name="department">
          select id,name from department_table 
     </query>
    </execute-query>
   </content>
  </page>
 
please help me
----
Thanks and Best Regards,
Rajesh.Arra
            Software Engineer
Enlume Technologies Private Limited
4-246 Geetanagar,Malkajgiri, 
Hyderabad.A.P - 500047 
INDIA 
Tel: 91-40-27052705
 

Mime
View raw message