public void setPath ( String strPath ) throws PageException { if ( strPath == null ) return ; this . path = ResourceUtil . toResourceNotExisting ( pageContext , strPath . trim ( ) ) ; // this.path=new File(path.toLowerCase().trim()); pageContext . getConfig ( ) . getSecurityManager ( ) . checkFileLocation ( this . path ) ; if ( ! this . path . exists ( ) ) { Resource parent = this . path . getParentResource ( ) ; if ( parent != null && parent . exists ( ) ) this . path . mkdirs ( ) ; else { throw new ApplicationException ( "attribute path of the tag collection must be a existing directory" ) ; } } else if ( ! this . path . isDirectory ( ) ) throw new ApplicationException ( "attribute path of the tag collection must be a existing directory" ) ; }
set the value path