会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
羊咩y
博客园
首页
新随笔
联系
订阅
管理
2020年8月28日
Cannot convert value of type 'java.lang.String' to required type 'org.springframework.web.multipart.commons.CommonsMultipartFile': no matching editors or conversion strategy found
摘要: 今天在写文件上传的时候,出现了 原因是表格的提交没有添加请求的方式,只能写post方法,我用了get方法,也不对。 因为: 1.多部分(enctype="multipart/form-data")表单 2.请求必须是post请求,因为post可以传二进制和文本 因为get请求文件只支持2k-4k左右
阅读全文
posted @ 2020-08-28 19:12 羊咩y
阅读(5977)
评论(0)
推荐(0)
2020年8月8日
idea 运行项目说 org.junit包不存再
摘要: 问题:
阅读全文
posted @ 2020-08-08 10:57 羊咩y
阅读(247)
评论(0)
推荐(0)
2020年7月29日
自定义的Handler
摘要: 当涉及连表查询的时候,我们要自定义一个handler接收的方法 (我们之前学的都是单个表格的数据查询,所以可以直接用beanHander,BeanListHandler.......等待 但是我们再连表查询的时候,只是定义个一个对象,对象的内容取不到,所以要自定义一个Handler方法
阅读全文
posted @ 2020-07-29 16:22 羊咩y
阅读(139)
评论(0)
推荐(0)
html中,关于全局变量的问题
摘要: layui.use(['laydate','form','layer'],function(){ var form = layui.form; layer = layui.layer;//end //加载角色列表 loadRoleList(); //取得ID acc_id = localStorag
阅读全文
posted @ 2020-07-29 11:37 羊咩y
阅读(1997)
评论(0)
推荐(0)
2020年7月16日
http中的Cache-Control:must-revalidate首部
摘要: cache-control:must-revalidate 首部会对过期后的缓存进行验证 1.must-revalidate和no-cache的区别 no-cache会强制验证缓存(无论缓存是否过期),而must-revalidate只会验证过期后的缓存。 2.为什么需要must-revalidat
阅读全文
posted @ 2020-07-16 17:28 羊咩y
阅读(620)
评论(0)
推荐(0)
2020年7月10日
SSM框架整合错误:Could not autowire field
摘要: debug信息: spring整合mybatis错误:Could not autowire field: com.zy.ssm.service.BookService com.zy.ssm.contr... 分析:可以清晰的看出是Could not autowire field错误,错误原因是:co
阅读全文
posted @ 2020-07-10 00:19 羊咩y
阅读(894)
评论(0)
推荐(0)
2020年6月15日
js中对省市区字符串进行切割
摘要: // var address = "辽宁省沈阳市和平区"; // 以这个地址为例 // const address = msg.detail; // const proExp = ".+[省]",cityExp = ".+[市]",disExp = ".+[区]"; // const provinc
阅读全文
posted @ 2020-06-15 16:05 羊咩y
阅读(1906)
评论(0)
推荐(0)
2020年6月12日
json对象与json字符串
摘要: html前端页面:1.JSON对象属性名不行使用双引号括起来:属性名和属性值之间使用冒号:分割,多个属性之间有逗号分割 var jsonObj = {"name":"孙悟空","age":500}; alert(jsonObj); //jsonObj输出的是对象 [object Object] 如果
阅读全文
posted @ 2020-06-12 14:21 羊咩y
阅读(288)
评论(0)
推荐(0)
Cannot set order_time: incompatible types, cannot convert java.sql.Timestamp to java.lang.String Query
摘要: Cannot set order_time: incompatible types, cannot convert java.sql.Timestamp to java.lang.String Query 无法设置顺序时间:不兼容的类型,无法转换java.sql.Timestamp时间戳到java.
阅读全文
posted @ 2020-06-12 11:08 羊咩y
阅读(3613)
评论(1)
推荐(0)
2020年6月11日
layui系列之弹出层
摘要: https://www.cnblogs.com/newcapecjmc/p/11471242.html
阅读全文
posted @ 2020-06-11 16:34 羊咩y
阅读(125)
评论(0)
推荐(0)
下一页
公告