- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for getServletContext (0.22 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));
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 15.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
} return Paths.get(webinfBase, names); } 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)) {
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/OsddHelper.java
return null; } 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);
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 3.7K 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(); }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 16.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/EncodingFilter.java
protected ServletContext servletContext; protected URLCodec urlCodec = new URLCodec(); @Override public void init(final FilterConfig config) throws ServletException { servletContext = config.getServletContext(); encoding = config.getInitParameter(LastaPrepareFilter.ENCODING_KEY); if (encoding == null) { encoding = LastaPrepareFilter.DEFAULT_ENCODING; }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
return ComponentUtil.getFessConfig().getHttpFileuploadThresholdSizeAsInteger(); } protected String getRepositoryPath() { final File tempDirFile = (File) LaServletContextUtil.getServletContext().getAttribute(CONTEXT_TEMPDIR_KEY); String tempDir = tempDirFile.getAbsolutePath(); if (tempDir == null || tempDir.length() == 0) { tempDir = System.getProperty(JAVA_IO_TMPDIR_KEY); }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 16.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
@Override public String getFilterName() { return SpnegoAuthenticator.class.getName(); } @Override public ServletContext getServletContext() { throw new UnsupportedOperationException(); } @Override public String getInitParameter(final String name) {
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 11.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
} } buf.append(".jsp"); return buf.toString(); } private boolean existsPage(final String path) { final String realPath = LaServletContextUtil.getServletContext().getRealPath(path); final File file = new File(realPath); return file.isFile(); } public String createCacheContent(final Map<String, Object> doc, final String[] queries) {
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 40.1K bytes - Viewed (2) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
} }); })); return fileList; } protected File getDesignJspFile(final String path) { return new File(LaServletContextUtil.getServletContext().getRealPath(path)); } public boolean isForceStop() { return forceStop.get(); } public void setForceStop(final boolean b) { forceStop.set(b); }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Sat Apr 13 11:43:03 GMT 2024 - 26.5K bytes - Viewed (2)