会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
秋呀秋
博客园
首页
新随笔
联系
订阅
管理
2021年9月17日
随机生成验证码
摘要: private static String getMsgCode() { int n = 6; StringBuilder code = new StringBuilder(); Random ran = new Random(); for (int i = 0; i < n; i++) { cod
阅读全文
posted @ 2021-09-17 15:13 秋呀秋
阅读(40)
评论(0)
推荐(0)
2018年7月26日
JS里点击事件判断是否 触发了节点 和给标签添加class属性
摘要: $("#activityType").click(function(e){ if(e.target==$("#bb")[0]){ var bb=document.getElementById('bb'); bb.className="active"; $("#aa").removeClass("active"); ...
阅读全文
posted @ 2018-07-26 15:16 秋呀秋
阅读(2414)
评论(0)
推荐(0)
nginx 重启报错
摘要: 错误信息: 错误信息: nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory) nginx: [error] open() "/usr/local/nginx/logs
阅读全文
posted @ 2018-07-26 15:09 秋呀秋
阅读(557)
评论(0)
推荐(0)
2018年7月4日
关于插入数据到数据库显示乱码问题(比如显示???)
摘要: spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:3306/dbgril?characterEncoding=utf-8 spring.data
阅读全文
posted @ 2018-07-04 14:56 秋呀秋
阅读(1149)
评论(0)
推荐(0)
Spring Boot下的lombok安装 (日志) 不能识别log变量问题
摘要: 参考地址:http://blog.csdn.net/blueheart20/article/details/52909775 ps:除了要加载依赖之外 还要安装lombok插件
阅读全文
posted @ 2018-07-04 14:54 秋呀秋
阅读(837)
评论(0)
推荐(0)
spring boot 报错 Error creating bean with name
摘要: Application 启动类 要和父目录平级
阅读全文
posted @ 2018-07-04 14:46 秋呀秋
阅读(403)
评论(0)
推荐(0)
文件/图片上传示例
摘要: 1 2 3 图片 4 5 6 提交 7 /** * 文件上传 ...
阅读全文
posted @ 2018-07-04 14:39 秋呀秋
阅读(238)
评论(0)
推荐(0)
url乱码问题
摘要: //url乱码,有时候要解码2次才能成功 String url=URLDecoder.decode(URLDecoder.decode(returnUrl, "UTF-8"),"UTF-8"); 示例: http%25253A%25252F%25252Fsell.com %25252F%252523
阅读全文
posted @ 2018-07-04 14:35 秋呀秋
阅读(532)
评论(0)
推荐(0)
公告