db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Schneider" <bschnei...@vecna.com>
Subject Re: Web apps and Torque
Date Thu, 30 Jan 2003 15:12:37 GMT
I usually stick it in a ServletContextListener, and use a context-relative
path to Torque.properties like

context.getRealPath("/WEB-INF/Torque.properties")

that way you can stick Torque.properties in your WAR file.
-- Bill
----- Original Message -----
From: "Richard Keene" <rkeene@mwutah.com>
To: "Turbine Torque Users List" <turbine-torque-user@jakarta.apache.org>
Sent: Wednesday, January 29, 2003 3:39 PM
Subject: Web apps and Torque


>     When using Tomcat to create a web app, You need to put the
> Torque.init("Torque.properties");
> somewhere.  Where should it go, and what is the path to the
> Torque.properties file?
>
> --
> Richard Keene
> 801-647-8932
> rkeene@mwutah.com
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-torque-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
turbine-torque-user-help@jakarta.apache.org
>


Mime
View raw message