tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janek Bogucki <>
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?

Janek Bogucki

 --- Dan Silcox <> 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 address at
or your free address at

View raw message