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-w
On 5 Dec 2010, at 19:20, Christopher Schultz
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
>>> .properties.
>>>
>>> Snippet of code t
-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
>> .properties.
>>
>> Snippet of code that can be placed in a ServletContextListener.
>>
>> String resource
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 called.properties.
Snippet of code that can be placed in a ServletContextListener.
String resource = "some.properties";
InputStream in = this.getClass().getClassLoader().
INF/classes of your war file once you run maven
> package.
>
> Read the javadoc on Class.getResourceAsStream() concerning how to locate the
> properties file.
>
> . . . . just my two cents.
>
> /mde/
>
> ----- Original Message
> From: srd.pl
> To: users
sStream() concerning how to locate the
properties file.
. . . . just my two cents.
/mde/
- Original Message
From: srd.pl
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 considerin
> 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 archive at Nabble.com.
>
>
> -
> To unsubscribe,
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