![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
yo.giaten
这个作者很懒,什么都没留下…
展开
-
文件下载及web文件的contentType类型大全
文件下载及web文件的contentType类型大全String filePath="";File file=new File(filePath);//解决乱码问题String filename=URLEncoder.encode(file.getName(),"utf-8");//重置输出流response.reset();Response.AddHeader("Conte...原创 2019-09-20 19:06:29 · 760 阅读 · 0 评论 -
小记:前端发送时间到后台无法接受问题
场景:前台发送date数据到后台localhost:8080/xxx/xxx?birthdate=2019-09-16后台使用实体类进行映射接收实体类中对应的Date类型属性为private class XXX { ... Date birthdate;}具体情况:前端发送数据,页面响应状态为404,后台无执行接收数据后的后续流程解决措施:需要对实体类的Date类型属性进...原创 2019-09-16 14:25:12 · 402 阅读 · 0 评论 -
SpringBoot项目引入分页助手插件
前言:SpringCloud的分布式项目也同理在Service层所在项目中进行如下操作在业务层(Service层)中引入如下依赖:<dependency><groupId>com.github.pagehelper</groupId><artifactId>pagehelper-spring-boot-starter</artifact...原创 2019-10-08 14:24:37 · 791 阅读 · 0 评论