Darrell B wrote:
I figured out the problem.
1. I used an absolute path to the torque properties file. (I'll load the file differently later)
2. Located the mysql jar to put in the lib directory of struts.
3. Modified the struts-config.xml file of struts to include driver, database url, user, password as a datasource
Although, I am still initializing torque the same way by calling it from an action object.
Everything is working fine. Now time for improvements.
Also, it is often recommended to use Unix/Java-style pathnames inside of Java code... instead of:
d:\\jbproject\\metokotecan\\Torque.properties
try using:
d:/jbproject/metokotecan/Torque.properties
Erik
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
