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();
        }
    }
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 ( ) ; } }
<p>getWebInfLibDirectory.</p>

@return a {@link java.lang.String} object.