- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getServletContext (0.12 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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
lenient().when(response.getOutputStream()).thenReturn(servletOutputStream); // Setup servlet config lenient().when(servletConfig.getServletContext()).thenReturn(servletContext); lenient().when(servletConfig.getInitParameterNames()).thenReturn(Collections.emptyEnumeration()); // Setup request session
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
* @throws UnsupportedOperationException Always thrown as this operation is not supported */ @Override public ServletContext getServletContext() { throw new UnsupportedOperationException("getServletContext() is not supported in SpnegoFilterConfig"); } /** * Gets the initialization parameter value for the given parameter name. *Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 17.8K bytes - Viewed (3) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
protected File createRepositoryFile() { return new File(getRepositoryPath()); } protected String getRepositoryPath() { final ServletContext servletContext = LaServletContextUtil.getServletContext(); if (servletContext.getAttribute(CONTEXT_TEMPDIR_KEY) instanceof final File tempDirFile) { final String tempDir = tempDirFile.getAbsolutePath(); if (tempDir != null && tempDir.length() > 0) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 18.6K bytes - Viewed (1) -
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(); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 25.4K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
*/ public static File[] getJarFiles(final String namePrefix) { final ServletContext context = LaServletContextUtil.getServletContext(); if (context == null) { return new File[0]; } final String libPath = context.getRealPath("/WEB-INF/lib"); if (StringUtil.isBlank(libPath)) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
* * @param path The path to the JSP file. * @return The JSP file. */ protected File getDesignJspFile(final String path) { return new File(LaServletContextUtil.getServletContext().getRealPath(path)); } /** * Checks if the system is in a force-stop state. * * @return true if the system is force-stopping, false otherwise. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 08:30:43 UTC 2025 - 36.6K bytes - Viewed (0)