db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Price <epr...@ptc.com>
Subject Re: Antw: torque and struts
Date Fri, 30 May 2003 12:24:28 GMT

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:


try using:



View raw message