Hi,

I currently dont understand the following:

I have a registered class as a ServletContextListener.
At application start I want to read a Properties file
from the classpath, doing the following:

myProps = new Properties();
try {
   URL url = ClassLoader.getSystemResource("com/foo/My.properties");
   InputStream istream = url.openStream();
   myProps.load(istream);
} catch (Exception exp) {

}

_________________________________________________________________
Mit MSN Fotos k�nnen Sie kinderleicht Ihre Fotos ausdrucken und Freunden zur 
Verf�gung stellen: http://photos.msn.de


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to