- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for getRealPath (0.07 seconds)
-
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())) { expectedBaseDir = new File(baseDir, "css"); uploadFile = new File(getServletContext().getRealPath("/css/" + fileName));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 23 23:57:26 GMT 2026 - 20.1K bytes - Click Count (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("OSDD file path could not be resolved: {}", osddPath); return null; } final File osddFile = new File(path);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 4.7K bytes - Click Count (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 @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 22.2K bytes - Click Count (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) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 25.4K bytes - Click Count (1) -
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(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/SuggestJobTest.java
} // Mock ServletContext implementation private class MockServletContext extends jakarta.servlet.GenericServlet implements ServletContext { @Override public String getRealPath(String path) { if (path == null) { return tempDir.getAbsolutePath(); } // Remove leading slash if present if (path.startsWith("/")) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 31.6K bytes - Click Count (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")),Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 10.5K bytes - Click Count (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")),Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 11.7K bytes - Click Count (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")),Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 19.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
* @return true if the page exists, false otherwise */ private boolean existsPage(final String path) { final String realPath = LaServletContextUtil.getServletContext().getRealPath(path); final File file = new File(realPath); return file.isFile(); } /** * Creates cached content with highlighting for a document.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 52.6K bytes - Click Count (0)