java 接收图片 spring,springmvc处理图片上传时使用MultipartFile 接收为null。

3.DEBUG信息:DEBUG[http-bio-90-exec-10]-DispatcherServletwithname'web'processingGETrequestfor[/js/kindeditor-4.1.10/lang/zh_CN.js]DEBUG[http-bio-90-exec-10]-Lookinguphandlermethodforpath/js/kindeditor-4.1.10/lang/zh_CN.jsDEBUG[http-bio-90-exec-10]-Didnotfindhandlermethodfor[/js/kindeditor-4.1.10/lang/zh_CN.js]DEBUG[http-bio-90-exec-10]-Matchingpatternsforrequest[/js/kindeditor-4.1.10/lang/zh_CN.js]are[/js/**]DEBUG[http-bio-90-exec-10]-URITemplatevariablesforrequest[/js/kindeditor-4.1.10/lang/zh_CN.js]are{}DEBUG[http-bio-90-exec-10]-Mapping[/js/kindeditor-4.1.10/lang/zh_CN.js]toHandlerExecutionChainwithhandler[ResourceHttpRequestHandler[locations=[ServletContextresource[/js/]],resolvers=[org.springframework.web.servlet.resource.PathResourceResolver@105fda6b]]]and1interceptorDEBUG[http-bio-90-exec-10]-Last-Modifiedvaluefor[/js/kindeditor-4.1.10/lang/zh_CN.js]is:-1DEBUG[http-bio-90-exec-10]-NullModelAndViewreturnedtoDispatcherServletwithname'web':assumingHandlerAdaptercompletedrequesthandlingDEBUG[http-bio-90-exec-10]-SuccessfullycompletedrequestDEBUG[http-bio-90-exec-10]-DispatcherServletwithname'web'processingGETrequestfor[/js/kindeditor-4.1.10/plugins/multiimage/images/swfupload.swf]DEBUG[http-bio-90-exec-10]-Lookinguphandlermethodforpath/js/kindeditor-4.1.10/plugins/multiimage/images/swfupload.swfDEBUG[http-bio-90-exec-10]-Didnotfindhandlermethodfor[/js/kindeditor-4.1.10/plugins/multiimage/images/swfupload.swf]DEBUG[http-bio-90-exec-10]-Matchingpatternsforrequest[/js/kindeditor-4.1.10/plugins/multiimage/images/swfupload.swf]are[/js/**]DEBUG[http-bio-90-exec-10]-URITemplatevariablesforrequest[/js/kindeditor-4.1.10/plugins/multiimage/images/swfupload.swf]are{}DEBUG[http-bio-90-exec-10]-Mapping[/js/kindeditor-4.1.10/plugins/multiimage/images/swfupload.swf]toHandlerExecutionChainwithhandler[ResourceHttpRequestHandler[locations=[ServletContextresource[/js/]],resolvers=[org.springframework.web.servlet.resource.PathResourceResolver@105fda6b]]]and1interceptorDEBUG[http-bio-90-exec-10]-Last-Modifiedvaluefor[/js/kindeditor-4.1.10/plugins/multiimage/images/swfupload.swf]is:-1DEBUG[http-bio-90-exec-10]-NullModelAndViewreturnedtoDispatcherServletwithname'web':assumingHandlerAdaptercompletedrequesthandlingDEBUG[http-bio-90-exec-10]-SuccessfullycompletedrequestDEBUG[http-bio-90-exec-10]-DispatcherServletwithname'web'processingPOSTrequestfor[/pic/upload]DEBUG[http-bio-90-exec-10]-Foundmultipartfile[uploadFile]ofsize345594byteswithoriginalfilename[natalie.png],storedat[D:ideaWorkspace2e3mallwebtargettomcatworkTomcatlocalhost_upload_605390ea_b9db_44ee_9bf4_b426b27db686_00000001.tmp]DEBUG[http-bio-90-exec-10]-Lookinguphandlermethodforpath/pic/uploadDEBUG[http-bio-90-exec-10]-Returninghandlermethod[publicjava.util.Mapcn.e3mall.controller.PictureController.fileUpload(org.springframework.web.multipart.MultipartFile)]DEBUG[http-bio-90-exec-10]-Returningcachedinstanceofsingletonbean'pictureController'DEBUG[http-bio-90-exec-10]-SkipCORSprocessing,requestisasame-originone

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值