On 07.Aug.2001 -- 03:42 PM, Ling Kok Choon wrote:
> 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 ?
Look at the Database*Actions.
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
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]>