Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fileExists (0.04 sec)

  1. src/main/webapp/WEB-INF/fe.tld

        </example>
      </function>
    
      <function>
        <description>
          Check if a file exists.
        </description>
        <name>fileExists</name>
        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
        <function-signature>boolean fileExists(java.lang.String)</function-signature>
        <example>
          ${fe:fileExists(path)}
        </example>
      </function>
    
      <function>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jan 18 11:38:54 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         *
         * @param path the file path relative to the servlet context
         * @return true if the file exists, false otherwise
         */
        public static boolean fileExists(final String path) {
            final File file = new File(LaServletContextUtil.getServletContext().getRealPath(path));
            return file.exists();
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top