会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
陈词调
博客园
首页
新随笔
联系
订阅
管理
2021年10月7日
springMVC中json返回乱码问题
摘要: 在springmvc中json返回中文时会显示乱码,只需要在@RequestMapping注解中加入produces = "application/json; charset=utf-8",就可以解决。 @RequestMapping(value = "/getrolelist",produces
阅读全文
posted @ 2021-10-07 17:38 陈词调
阅读(172)
评论(0)
推荐(0)
2021年9月25日
mybatis核心配置文件
摘要: <?xml version="1.0" encoding="UTF8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dt
阅读全文
posted @ 2021-09-25 10:20 陈词调
阅读(26)
评论(0)
推荐(0)
maven资源导出问题
摘要: 在pom.xml中引入 <build> <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</
阅读全文
posted @ 2021-09-25 10:17 陈词调
阅读(60)
评论(0)
推荐(0)
2021年9月23日
spring注解约束
摘要: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
阅读全文
posted @ 2021-09-23 22:04 陈词调
阅读(93)
评论(0)
推荐(0)
Spring-bean配置骨架
摘要: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
阅读全文
posted @ 2021-09-23 16:37 陈词调
阅读(20)
评论(0)
推荐(0)
2021年5月11日
用sql插入100万条数据
摘要: CREATE TABLE `app_user` ( `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, `name` VARCHAR(50) DEFAULT '' COMMENT'用户昵称', `email` VARCHAR(50) NOT NULL
阅读全文
posted @ 2021-05-11 09:19 陈词调
阅读(734)
评论(0)
推荐(0)
2021年5月3日
MySQL安装
摘要: Mysql安装 1.下载mysql zip 2.将zip解压到自定义位置 3.右击我的电脑→属性→高级系统设置→环境变量→系统变量→双击path→新建→在里面填入sql安装地址的bin目录路径→确定。 4.在sql安装目录的根目录下新建my.ini文件,输入如下 [mysqld] #设置3306端口
阅读全文
posted @ 2021-05-03 11:36 陈词调
阅读(105)
评论(0)
推荐(0)
2021年4月24日
分布式与集中式控制
摘要: 集中式和分布式的区别是: 你的本地是否有完整的版本库历史! 假设SVN服务器没了,那你丢掉了所有历史信息,因为你的本地只有当前版本以及部分历史信息。 假设GitHub服务器没了,你不会丢掉任何git历史信息,因为你的本地有完整的版本库信息。你可以把本地的git库重新上传到另外的git服务商。 才感觉
阅读全文
posted @ 2021-04-24 11:15 陈词调
阅读(368)
评论(0)
推荐(0)
2021年4月20日
css渐变
摘要: css渐变 一.分类 1.线性渐变:向上,向下,向左,向右,对角线。 2.径向渐变:由其中心定义 二.渐变 1.需要至少两个色标,色标是呈现平滑过渡的颜色,还可以设置起点和方向(默认的方向是自上而下)。 2.语法为:backgroud-image:linear-gradient(方向,颜色1,颜色2
阅读全文
posted @ 2021-04-20 16:41 陈词调
阅读(486)
评论(0)
推荐(0)
2021年4月5日
鼠标点击事件(Gui)
摘要: public class mousePaintDemo { public static void main(String[] args) { Mymouse.test(new Mymouse("画笔")); } } //自定义的frame类 class Mymouse extends Frame {
阅读全文
posted @ 2021-04-05 09:33 陈词调
阅读(390)
评论(0)
推荐(0)
公告