摘要: 使用第一个方式删除会产生数据紊乱,最终的结果不是自己想的到的 阅读全文
posted @ 2019-10-18 10:36 张含韵好可爱 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 内存的计算 -Xms1G -Xmx2G -Xmn500M -XX:MaxPermSize=64M -XX:+UseConcMarkSweepGC -XX:SurvivorRatio=3, 请问eden区最终分配的大小是多少? Xms:起始内存 Xmx:最大内存 Xmn:新生代内存 Xss栈大小 XX 阅读全文
posted @ 2019-10-18 10:31 张含韵好可爱 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 对jvm的简单理解,有什么错误的地方希望各位下方评论指出,在此谢过各位大佬 阅读全文
posted @ 2019-10-18 10:16 张含韵好可爱 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 实例为put请求方式,上面xml注解需要写到DispatcherServlet前 方法为: 阅读全文
posted @ 2019-09-17 09:03 张含韵好可爱 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 后台报错为; Required request part 'file' is not present 页面报错为: Request method 'GET' not supported 阅读全文
posted @ 2019-09-09 17:48 张含韵好可爱 阅读(1410) 评论(0) 推荐(0) 编辑
摘要: int不能为空,而Integer可以赋空值 阅读全文
posted @ 2019-09-02 10:42 张含韵好可爱 阅读(136) 评论(0) 推荐(0) 编辑
摘要: HashSet hs=new HashSet(); Integer i=0; while (i<9){ int s=(int) Math.ceil((Math.random()*9)); hs.add(s); i=hs.size(); } for(Integer s:hs) { System.out.println(s); } 阅读全文
posted @ 2019-06-30 14:17 张含韵好可爱 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 首先点击help 》Eclipse Marketplace >在find中搜索mybatis下面图片的第一个 点击installed 还需要一个配置文件generatorConfig.xml 然后运行这个配置文件 运行选项使用这个插件运行(mybatis Generator) 阅读全文
posted @ 2019-06-26 14:52 张含韵好可爱 阅读(1277) 评论(0) 推荐(0) 编辑
摘要: DBTools类 jdbc.properties url=jdbc:mysql://localhost:3306/books?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8 dao内的mapper文件可以用mybatis的插 阅读全文
posted @ 2019-06-26 14:41 张含韵好可爱 阅读(346) 评论(0) 推荐(0) 编辑
摘要: springmvc.xml <!--拦截请求 --> <mvc:interceptors> <mvc:interceptor> <!-- 要拦截的请求类型 /** 所以请求 --> <mvc:mapping path="/**"/> <!-- 不拦截的请求 --> <mvc:exclude-mapp 阅读全文
posted @ 2019-06-26 14:30 张含韵好可爱 阅读(1177) 评论(0) 推荐(0) 编辑