How can I get a data source from custom tag?

2001-05-04 Thread Anna Hristova
Hi All, I have different data sources defined in 'struts-config.xml'. I want to use one of them from a custom tag. I know how to this from an Action class: DataSource ds = (DataSource) servlet.findDataSource("dsUsers"); But in the custom tag I don't have reference to the 'servlet' as

Re: How can I get a data source from custom tag?

2001-05-04 Thread Dan Miser
This is now in the nightly build. Download it, and you should be able to do what you want. -- Dan Miser http://www.distribucon.com From: Anna Hristova [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Struts-User [EMAIL PROTECTED] Subject: How can I get a data source from custom tag? Date: Fri