I promise you I researched this, hence why you will find that this
is an intelligible question.

If I make a log4j.properties file and I want to place it in the
WEB-INF/classes/resources directory (in the spirit of Ted Husted) do
I have to then create a custom servlet Log4jInit to load this
properties file and define it in the web.xml file?  I found
information on the custom servlet in the Log4j manual and it looks
to be the same exact servlet that is used to initialize Torque in
the stocktrack application in the Struts KickStart book.

In short, it would seem to me that if I move the file from 

WEB-INF/classes

to

WEB-INF/classes/resources

I have to make a custom servlet.  Is this an incorrect assumption
and if not, how do I tell the web container where to find it (surely
it doesn't go hunting throughout the whole classpath).

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Rumour has it that bad dreams about Windows can be ended by 
putting on a pair of Tux slippers and clicking your heels 
together 3 times while saying. 
"There's no place like /home." 
"There's no place like /home." 
"There's no place like /home."
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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

Reply via email to