tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janek Bogucki <jane...@yahoo.co.uk>
Subject RE: Configuration
Date Fri, 12 Oct 2001 13:25:51 GMT
It might be worth looking at
ServletContext.getResourceAsStream ( String path )

where path is a context relative path.

If you are using a URL in the web space handled by
your webapp, how are you going to prevent some random
connection serving out your potentially sensitive
configuration data?

Cheers,
Janek Bogucki

 --- Dan Silcox <dsilcox@chemconnect.com> wrote: > If
it's a property type config file
> java.util.ResourceBundle is a great tool
> as it searches the entire system classpath.
> 


____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

Mime
View raw message