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" <[EMAIL PROTECTED]>
To: "Turbine Torque Users List" <[EMAIL PROTECTED]>
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
> [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to