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:[EMAIL PROTECTED] >Sent: Friday, September 19, 2003 5:03 AM >To: Tomcat Users List; [EMAIL PROTECTED] >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: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] 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]
