| | |
| | | ctx.setAttribute(FILE_BASE, pfad); |
| | | logger.fine("Basis: " + pfad); |
| | | } else { |
| | | ctx.setAttribute(FILE_BASE, getWbxDataDir(ctx)); |
| | | ctx.setAttribute(FILE_BASE, getWbxDataDir(ctx).getAbsolutePath()); |
| | | } |
| | | } else { |
| | | ctx.setAttribute(FILE_BASE, getWbxDataDir(ctx)); |
| | | ctx.setAttribute(FILE_BASE, getWbxDataDir(ctx).getAbsolutePath()); |
| | | } |
| | | } catch(Exception ex) { |
| | | ctx.setAttribute(FILE_BASE, getWbxDataDir(ctx)); |
| | | ctx.setAttribute(FILE_BASE, getWbxDataDir(ctx).getAbsolutePath()); |
| | | } |
| | | } |
| | | |
| | |
| | | logger.fine("getRealPath: " + path); // file-cms in webapps |
| | | File file = new File(path); |
| | | file = file.getParentFile().getParentFile().getParentFile().getParentFile(); |
| | | file = new File(file, "daten/"); |
| | | logger.fine("Basis: " + file.getAbsolutePath()); |
| | | return file; |
| | | } |