Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getServletContext (0.12 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/app/web/base/FessAdminAction.java

            }
        }
    
        /**
         * Gets the servlet context.
         *
         * @return the servlet context
         */
        protected ServletContext getServletContext() {
            return LaServletContextUtil.getServletContext();
        }
    
        /**
         * Verifies that the CRUD mode matches the expected mode.
         *
         * @param crudMode the actual CRUD mode
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. 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("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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/helper/ViewHelper.java

         * @param path the page path to check
         * @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