velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bolinger, Gregg D" <>
Subject RE: Accessing template
Date Tue, 03 Aug 2004 02:09:33 GMT
Found Runtime, but looks like it's a depricated class.  What are we supposed to use instead?

-----Original Message-----
From:	Mike Kienenberger []
Sent:	Mon 8/2/2004 8:49 PM
To:	Velocity Users List
Subject:	Re: Accessing template
"Bolinger, Gregg D" <> wrote:
> Do you have a velocity properties file for anything?  Right now I don't 
because I didn't think I needed one unless I was using the velociy servlet.  
Just wanted to check.
> Thanks for the help.

Yep, when running as a web app.

Nope, when running the same code as a standalone batch job.

When standalone, all I do is make sure my working directory is above 
WEB-INF, and

        Runtime.setProperty(Runtime.FILE_RESOURCE_LOADER_PATH, ".");



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message