Re: best practice for resources folder

2010-05-18 Thread Rainer Jung
On 17.05.2010 22:44, Thad Humphries wrote: Rainer, I wasn't aware of this library, but it looks very handy. Currently I a properties file in my WAR file. Being able to make changes to an external file with fallback to this one would be good. My questions where one might put that external file

RE: best practice for resources folder

2010-05-18 Thread Caldarale, Charles R
> From: Juergen Weber [mailto:webe...@gmail.com] > Subject: Re: best practice for resources folder > Working dir for Tomcat seems to be bin, so my application conf > directory under conf is addressed like > virtualClasspath="../conf/myapp" Probably better t

Re: best practice for resources folder

2010-05-18 Thread Juergen Weber
seems to be bin, so my application conf directory under conf is addressed like virtualClasspath="../conf/myapp" The resource Url of my property file is then file:/java/apache-tomcat-6.0.26/conf/myapp/myapp.properties Juergen -- View this message in context: http://old.nabble.com/b

Re: best practice for resources folder

2010-05-17 Thread Thad Humphries
Rainer, I wasn't aware of this library, but it looks very handy. Currently I a properties file in my WAR file. Being able to make changes to an external file with fallback to this one would be good. My questions where one might put that external file where it could be found by a servlet. The S

Re: best practice for resources folder

2010-05-17 Thread Rainer Jung
On 17.05.2010 18:05, Rainer Jung wrote: On 17.05.2010 17:14, Juergen Weber wrote: Hi, this seems to be a FAQ, but I could not find a solution for Tomcat 6: We want to keep property files out of war files. Where should we put the property files to access them from the web app via Class.getResou

Re: best practice for resources folder

2010-05-17 Thread Rainer Jung
On 17.05.2010 17:14, Juergen Weber wrote: Hi, this seems to be a FAQ, but I could not find a solution for Tomcat 6: We want to keep property files out of war files. Where should we put the property files to access them from the web app via Class.getResourceAsStream() ? For JBoss one would simpl

Re: best practice for resources folder

2010-05-17 Thread Peter_Ford
.properties ? > > Thanks, > Juergen > > -- > View this message in context: http://old.nabble.com/best-practice- > for-resources-folder-tp28584753p28584753.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > -

best practice for resources folder

2010-05-17 Thread Juergen Weber
, for Geronimo one would use the SharedLib gbean. But for Tomcat? Add a server.loader path to catalina.properties ? Thanks, Juergen -- View this message in context: http://old.nabble.com/best-practice-for-resources-folder-tp28584753p28584753.html Sent from the Tomcat - User mailing list archive at