Re: Place .ini conf file inside the war package.

2010-12-07 Thread srd.pl
Thank's guys. I am now loading the properties file, but in order to provide changes in the file i need to restart the webservice on tomcat. I'll at the appach commons closer for that. -- View this message in context: http://old.nabble.com/Place-.ini-conf-file-inside-the-war-package

Re: Place .ini conf file inside the war package.

2010-12-05 Thread Rainer Jung
On 04.12.2010 23:07, Pid wrote: On 12/4/10 5:41 PM, Mark Eggers wrote: Read about using properties files. They're typically calledname.properties. Snippet of code that can be placed in a ServletContextListener. String resource = some.properties; InputStream in =

Re: Place .ini conf file inside the war package.

2010-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 12/4/2010 5:07 PM, Pid wrote: On 12/4/10 5:41 PM, Mark Eggers wrote: Read about using properties files. They're typically called name.properties. Snippet of code that can be placed in a ServletContextListener. String resource =

Re: Place .ini conf file inside the war package.

2010-12-05 Thread Pid *
On 5 Dec 2010, at 19:20, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 12/4/2010 5:07 PM, Pid wrote: On 12/4/10 5:41 PM, Mark Eggers wrote: Read about using properties files. They're typically called name.properties.

Place .ini conf file inside the war package.

2010-12-04 Thread srd.pl
this file (what path) in my java code. I am using maven so an advice on how to write a special script in the pom.xml file would be great. -- View this message in context: http://old.nabble.com/Place-.ini-conf-file-inside-the-war-package.-tp30366628p30366628.html Sent from the Tomcat - User mailing list

Re: Place .ini conf file inside the war package.

2010-12-04 Thread Brian Braun
://old.nabble.com/Place-.ini-conf-file-inside-the-war-package.-tp30366628p30366628.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Place .ini conf file inside the war package.

2010-12-04 Thread Mark Eggers
() concerning how to locate the properties file. . . . . just my two cents. /mde/ - Original Message From: srd.pl srolek2...@yahoo.com To: users@tomcat.apache.org Sent: Sat, December 4, 2010 3:58:25 AM Subject: Place .ini conf file inside the war package. Hello, I have a quick question

Re: Place .ini conf file inside the war package.

2010-12-04 Thread Pid
file. . . . . just my two cents. /mde/ - Original Message From: srd.pl srolek2...@yahoo.com To: users@tomcat.apache.org Sent: Sat, December 4, 2010 3:58:25 AM Subject: Place .ini conf file inside the war package. Hello, I have a quick question considering my rest