--- SSIServletExternalResolver.bad Mon Aug 15 11:14:12 2005 +++ SSIServletExternalResolver.good Tue Aug 16 10:17:52 2005 @@ -475,16 +475,20 @@ public long getFileLastModified(String path, boolean virtual) throws IOException { long lastModified = 0; + try { URLConnection urlConnection = getURLConnection(path, virtual); lastModified = urlConnection.getLastModified(); + } catch(IOException ignore) { } return lastModified; } public long getFileSize(String path, boolean virtual) throws IOException { long fileSize = -1; + try { URLConnection urlConnection = getURLConnection(path, virtual); fileSize = urlConnection.getContentLength(); + } catch(IOException ignore) { } return fileSize; }