tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sbell" <sfb...@keasdesign.net>
Subject Re: Using a property file in java class (not servlet)
Date Tue, 11 Jul 2006 18:04:08 GMT
Thank you, that does help!
----- Original Message ----- 
From: "Jon Wingfield" <jon.wingfield@mkodo.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, July 11, 2006 1:03 PM
Subject: Re: Using a property file in java class (not servlet)


> Probably not without using standard java io and a file path (which you
> can't rely on for packed web-apps).
>
> If the file was in /appName/WEB-INF/classes it would be a resource that
> could be found by the classloader.
>
> HTH,
>
> Jon
>
> sbell wrote:
> > Hello,
> >
> > Is there anyway of referencing a properties file located in:
/appName/WEB-INF/file.propertes  From inside a standard java class file?
> >
> > steve
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message