简体   繁体   English

使用 enctype=multipart/form-data 上传文件时出错,错误是上传的文件不是 multipart

[英]error while file uploading using enctype=multipart/form-data , the error is the file bring uploaded is not multipart

when i try to upload files it given an error that the file being uploaded is not multipart .当我尝试上传文件时,它给出了一个错误,即正在上传的文件不是多部分的。

I have given the links to the files in the links .我已经给出了链接中文件的链接。 thanks in advance .提前致谢 。 enter link description here enter link description here 在此 输入链接描述 在 输入链接描述

why does your stylesheet have the multipart tag???为什么你的样式表有 multipart 标签???

This should be on the form like this:这应该是这样的形式:

<form  action = "RegisterController" method = "POST" enctype = "multipart/form-data">

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用multipart / form-data android上传文件时出错 - Error while uploading file using multipart/form-data android 使用多部分/表单数据将文件上传到服务器 - Uploading file to server with multipart/form-data 尽管我写了“enctype=&quot;multipart/form-data”,但发生错误“当前请求不是多部分请求” - Although I wrote 'enctype="multipart/form-data', ERROR 'Current request is not a multipart request' happen Servlet从不带enctype =“ multipart / form-data”的表单上载文件 - Servlets upload file from form without enctype=“multipart/form-data” 使用“ multipart / form-data”上传文件以获取Controller Error中的隐藏变量值 - Retrieving hidden variable value in Controller Error using “multipart/form-data” to upload file 无法使用带有 jersey 2 的文件执行多部分/表单数据请求。错误 400 - Unable to execute multipart/form-data request using a file with jersey 2. Error 400 Retrofit2 在使用 Multipart 上传文件时抛出 ConnectionShutdownException 错误 - Retrofit2 throws ConnectionShutdownException error while uploading a file using Multipart 使用Java上传具有multipart / form-data的zip文件时丢失字节 - Missing bytes when uploading zip file with multipart/form-data using java 使用改造将文件作为多部分/表单数据上传会产生 400 错误代码 - Uploading a file as multipart/form-data using retrofit gives 400 errorcode 使用 Rest 模板上传多部分表单数据 linux 文件:针对非法未加引号的字符的 POST 请求出现 I/O 错误((CTRL-CHAR,代码 13)) - Uploading multipart form-data linux file using Rest template : I/O error on POST request for Illegal unquoted character ((CTRL-CHAR, code 13))
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM