Hi All,

   I try to use Action in the Sitemap to dinamicaly select stylesheet file  base on 
the request 
*.xml file. so in the Action, i need to get a connection from the connection pool to 
connect to 
the database. But How to get the connection ? I have read the Cocoon2 Documentation ( 
section 
Using Databases) but the example code is wrong, i can't find the import classes (e.g. 
org.apache.avalon.ComponentManager, org.apache.avalon.ComponentSelector ) from the 
Avalon's 
package !

   Do you have any idea ? 


Thank you.

Kok Choon.



--------------------------------------------------------
Name: Ling Kok Choon
E-mail: Ling Kok Choon <[EMAIL PROTECTED]>
Date: 08/07/01
Time: 15:42:44

This message was sent by Z-Mail Pro - from NetManage
NetManage - delivers Standards Based IntraNet Solutions
--------------------------------------------------------

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to