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 in Action class.... How can I get it?
Any help will be appreciated.
10x, Anna
|
- RE: How can I get a data source from custom tag? Anna Hristova
- RE: How can I get a data source from custom tag? Gogineni, Pratima
- Re: How can I get a data source from custom tag? Dan Miser