Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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")),
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  2. 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)
  3. 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) {
    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)
  4. 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")),
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. 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")),
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 15K 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);
                }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  7. 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()) {
    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)
  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) {
    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)
  9. 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)
  10. 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 (1)
Back to top