tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Where should I put properties files
Date Fri, 19 Sep 2003 13:12:46 GMT

Howdy,
I generally disagree, but don't want to start a big discussion, just
solve that guy's problem. ;)

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Christopher Williams [mailto:ccwilliams3@ntlworld.com]
>Sent: Friday, September 19, 2003 5:03 AM
>To: Tomcat Users List; spence@panix.com
>Subject: Re: Where should I put properties files
>
>Configuration files are a problem area in Java, particularly J2EE.  You
>can:
>1. Use a Preferences object (although I personally have found this
quite
>painful - you need to provide a UI to set up and administer your
>preferences
>and system preferences require admin privileges on Windows).
>2. Put your config file in a directory off the user's home directory.
Use
>System.getProperty("user.home") to retrieve the home directory and
build up
>the path to your file.  Indicate in your documentation that the web
service
>must run in the context of a aprticular user.
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




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.


Mime
View raw message