git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@451345
13f79535-47bb-0310-9956-
ffa450edef68
source =
new InputSource("file://" + file.getAbsolutePath());
stream = new FileInputStream(file);
+ context.addWatchedResource(file.getAbsolutePath());
}
} catch (Exception e) {
log.error(sm.getString("contextConfig.defaultMissing")
out.printil("out = _jspx_out;");
out.printil("if (out != null && out.getBufferSize() != 0)");
out.pushIndent();
- out.printil("out.clearBuffer();");
+ out.printil("try { out.clearBuffer(); } catch (java.io.IOException e) {}");
out.popIndent();
out