Howdy,

>any way to get the absolute path to my $CATALINA_BASE or
>$CATALINA_BASE/temp directory? Thx.

Several ways, none of which you want to do.  One easy way is to add
-DCATALINA_BASE=$CATALINA_BASE to your JAVA_OPTS, and then do a
System.getProperty("CATALINA_BASE").

What you probably really want is your context's temporary directory,
which the container is required to provide according to the servlet
specification.  This is available as a context attribute of type File
(javax.servlet.context.tempdir or something like that is the name of the
attribute -- read the spec for more).

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to