Hi, while developing an application I frequently copy files into the webapps directory including some jar files in WEB-INF/lib, causing a restart of the application. However, after a restart, I frequently observe IOExceptions when accessing a property file, which is located in one of the Jar files. The code in question looks as follows:
URL url = classLoader.getResource(pName); if (url == null) { return null; } Properties properties = new Properties(); properties.load(url.openStream()); The IOException occurs within url.openStream(). Having obtained the URL in this way, I can think of no reason why it should fail. Any explanations? Regards, Jochen --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]