Spring MVC, как обойти DispatcherServlet для * .html файлов?

PHP имеет встроенную функцию, называемую bool chmod(string $filename, int $mode )

http://php.net/function.chmod

private function writeFileContent($file, $content){
    $fp = fopen($file, 'w');
    fwrite($fp, $content);
    fclose($fp);
    chmod($file, 0777);  //changed to add the zero
    return true;
}

13
задан Bobo 13 December 2010 в 19:41
поделиться