Hi Ranchers,
I would want to utilize the example provided by the
Struts documentation in accessing databases using the <data-sources> mapping, but instead I get a "NullPointerException". Here's my code (assume that the <data-sources> mapping has been defined in struts-config.xml):
I just followed the "dataSource = actionServlet.findDataSource(null);" from the docs (actually it's "dataSource = servlet.findDataSource(null);"). Am I missing something?
Thanks in advance for the help.
Ex Animo
Java!
-- Val
[ May 26, 2002: Message edited by: Val Pecaoco ]