Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getRealPath (0.07 sec)

  1. 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)
  2. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  5. 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);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
  9. 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.
         */
        public boolean isForceStop() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  10. 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.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 52.6K bytes
    - Viewed (0)
Back to top