I am new to struts and am having a bit of trouble getting multiple
datasources working. I have two datasources defined in my
struts-config.xml. The documentation is unclear on how to define an
identifier for each datasource.

The other problem is how to reference the datasource in my action class.
What do I have to supply as the parameter to the
servlet.findDataSource() method? I am currently using null, which
returns the first datasource that I have defined. I want to be able to
reference the other.

Further to this, does anybody have a concrete example of using the
DBTags taglib with a struts defined datasource. Again, the documentation
is very sparse on this subject.

Thanks
Jeff Bird

--
Jeffrey Bird
Email: [EMAIL PROTECTED]          Phone: +61 7 47814649
Computer Systems Officer                  Fax: +61 7 47815230
Information Technology & Resources
James Cook University


Reply via email to