tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Directories - best practice
Date Sat, 22 Sep 2001 17:56:43 GMT
Hi all,

While configuring a to-be-deployed servlet, I have noticed that the
programmer has placed absolute pathnames in a number of places within
the parameters in web.xml, and within the log4j configuration file.

Some experimentation has revealed that the default directory of a given
servlet is the same directory that tomcat was started from - in my case
/var/tomcat4/bin.

What is the correct way of defining directories in config files (like
web.xml), preferably without the need to use absolute paths...?

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."
Mime
View raw message