code: public String getWebInfLibDirectory() {
          String realPath = ServletActionContext.getServletContext().getRealPath("WEB-INF/lib");
          try {
              return new File(realPath).getCanonicalPath();
          } catch (IOException e) {
              return new File(realPath).getAbsolutePath();
          }
      }
docs: <p>getWebInfLibDirectory.</p>
  
  @return a {@link java.lang.String} object.