Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for getServletContext (0.78 sec)

  1. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

            }
    
            @Override
            public int getLocalPort() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public jakarta.servlet.ServletContext getServletContext() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public jakarta.servlet.AsyncContext startAsync() {
                throw new UnsupportedOperationException();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

                }
    
                @Override
                public int getLocalPort() {
                    return 0;
                }
    
                @Override
                public jakarta.servlet.ServletContext getServletContext() {
                    return null;
                }
    
                @Override
                public jakarta.servlet.AsyncContext startAsync() {
                    return null;
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            }
    
            @Override
            public int getLocalPort() {
                return 8080;
            }
    
            @Override
            public jakarta.servlet.ServletContext getServletContext() {
                return null;
            }
    
            @Override
            public jakarta.servlet.AsyncContext startAsync() {
                return null;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  5. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  6. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
Back to top