You can set them in your startup class by reading the configuration file. System.setProperty()
/Ashwani -----Original Message----- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 1:08 PM To: Struts Users Mailing List Subject: Best practice for external webapp configuration ? Hello, I'm searching for best practice in JEE applications to put configuration elements outside the war/ear. Here is what I mean : My webapp requires some filesystem path to work (logs dir, system-dependent config files...). I'm using a java sytem property to setup a root path for external configuration, but this requires to customize the container JVM ("-Dxxx=yyy"). Is there a better "JEE" way to do such things ? Nico. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]