文件上傳的必要前提: 1.form表單的enctype取值必須是:multipart/form-data(默認值是:application/x-www-form-urlencoded) enctype:是表單請求正文的類型