if( !checker.checkFileExtension(fileExt) ) {
out.println(buildResponseScript(editorId, destUrl, bundle.getString(MSG_EXT_VIOLATED)));
return;
}
String path = pathGenerator.generate(request, fileName);
int last = path.lastIndexOf(File.separator);
if(last > 0) {
File lastDir = new File(uploadRoot, path.substring(0, last));
if(!lastDir.exists())
lastDir.mkdirs();