- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for getRealPath (0.43 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
uploadFile = new File(getServletContext().getRealPath("/images/" + fileName)); } else if (checkFileType(fileName, fessConfig.getSupportedUploadedCssExtentionsAsArray()) && checkFileType(uploadedFileName, fessConfig.getSupportedUploadedCssExtentionsAsArray())) { uploadFile = new File(getServletContext().getRealPath("/css/" + fileName));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/SuggestJob.java
} // WEB-INF/lib appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/lib")), "WEB-INF" + File.separator + "lib" + File.separator); // WEB-INF/env/suggest/lib appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/env/" + getExecuteType() + "/lib")),
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java
} // WEB-INF/lib appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/lib")), "WEB-INF" + File.separator + "lib" + File.separator); // WEB-INF/env/thumbnail/lib appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/env/" + getExecuteType() + "/lib")),
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/CrawlJob.java
} // WEB-INF/lib appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/lib")), "WEB-INF" + File.separator + "lib" + File.separator); // WEB-INF/env/crawler/lib appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/env/" + getExecuteType() + "/lib")),
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
try { final ServletContext servletContext = ComponentUtil.getComponent(ServletContext.class); final String webinfPath = servletContext.getRealPath("/" + root + base); if (webinfPath != null && Files.exists(Paths.get(webinfPath))) { return Paths.get(webinfPath, names); } } catch (final Throwable e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/OsddHelper.java
} if (StringUtil.isBlank(osddPath)) { logger.info("OSDD file is not found."); return null; } final String path = LaServletContextUtil.getServletContext().getRealPath(osddPath); if (path == null) { logger.warn("{} was not found.", path); return null; } final File osddFile = new File(path); if (!osddFile.isFile()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PythonJobTest.java
assertNotNull(pythonJob.sessionId); assertTrue(pythonJob.sessionId.length() >= 10); // The test doesn't actually call the real process since ServletContext.getRealPath returns null in test // and causes an exception which is caught and added to result assertTrue(result.contains("Session Id:")); } // Test execute with custom session ID
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
@Override public Long load(final String key) throws Exception { try { final Path path = Paths.get(LaServletContextUtil.getServletContext().getRealPath(key)); if (Files.isRegularFile(path)) { return Files.getLastModifiedTime(path).toMillis(); } } catch (final Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/PythonJob.java
cmdList.add(fessConfig.getPythonCommandPath()); cmdList.add(getPyFilePath()); cmdList.addAll(argList); try { final File baseDir = new File(servletContext.getRealPath("/WEB-INF")).getParentFile(); if (logger.isInfoEnabled()) { logger.info("Python: \nDirectory={}\nOptions={}", baseDir, cmdList); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
} } } private static class TestServletContext implements ServletContext { File tempDir; @Override public String getRealPath(String path) { if (tempDir != null) { return new File(tempDir, path).getAbsolutePath(); } return new File("/test/webapp", path).getAbsolutePath(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.8K bytes - Viewed (0)