git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@441879
13f79535-47bb-0310-9956-
ffa450edef68
static Object outputDirLock = new Object();
+ public void checkOutputDir() {
+ if (outputDir != null) {
+ if (!(new File(outputDir)).exists()) {
+ makeOutputDir();
+ }
+ } else {
+ createOutputDir();
+ }
+ }
+
protected boolean makeOutputDir() {
synchronized(outputDirLock) {
File outDirFile = new File(outputDir);
pageInfo.setIncludeCoda(jspProperty.getIncludeCoda());
}
+ ctxt.checkOutputDir();
String javaFileName = ctxt.getServletJavaFileName();
ServletWriter writer = null;