-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 4/18/2010 2:27 PM, David Smith wrote:
> ServletContext.getResource( path ) takes path as relative to the current
> webapp and returns a URL for opening the resource or null if the
> resource was not found.
>
> also there is --
>
> ServletC
Yucca Nel wrote:
props file can be placed in src package and then placed along with
classes in the Web-INF directory when compiling with the destination
flag .This method has been used since jdk 1 for internationalization and
is understood by new and old devs. On a side not perhaps someone can
om: "Harry Metske"
> Sent: Sunday, April 18, 2010 7:32 PM
> To: "Tomcat Users List"
> Subject: Re: loading properties file from WEB-INF instead of WEB-INF/classes
>
>
>> 2010/4/17 Thufir
>>
>>
>>> getPropsFromWebINF works so long
related question regarding how we intwenationalize images? or a link:P
--
From: "Harry Metske"
Sent: Sunday, April 18, 2010 7:32 PM
To: "Tomcat Users List"
Subject: Re: loading properties file from WEB-INF instead of WEB-INF
2010/4/17 Thufir
> getPropsFromWebINF works so long as the properties file is within the
> package of
> the class (/. However, I'd like to put the properties file under WEB-INF:
>
>public void getPropsFromWebINF() throws IOException {
>Properties p = new Properties();
>Inpu
getPropsFromWebINF works so long as the properties file is within the package of
the class (/. However, I'd like to put the properties file under WEB-INF:
public void getPropsFromWebINF() throws IOException {
Properties p = new Properties();
InputStream is;
is = getCl