![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
liudaoiqng
牛B的华仔
展开
-
多模块bean调式
public static void main(String[] args) throws Exception { String[] paths = {"classpath:/applicationContext-resources.xml", "classpath:/applicationContext-dao.xml", ...原创 2019-12-12 10:08:14 · 100 阅读 · 0 评论 -
连接数据库地址后面加上?autoReconnect=true&useUnicode=true&characterEncoding=utf8 日志
添加的作用是:指定字符的编码、解码格式。 例如:mysql数据库用的是gbk编码,而项目数据库用的是utf-8编码。这时候如果添加了useUnicode=true&characterEncoding=UTF-8 ,那么作用有如下两个方面:1. 存数据时: 数据库在存放项目数据的时候会先用UTF-8格式将数据解码成字节码,然后再将解码后的字节码重新使用GB转载 2017-12-12 10:38:34 · 3428 阅读 · 0 评论 -
html dom属性获取
#foreach($pending in $pendings)<tr> <td selectId="$!pending.id" orderCode="$!{pending.orderCode}" transType="$!{pending.transType}" style="text-align: center !important;">$!pending.原创 2018-10-30 13:56:25 · 430 阅读 · 0 评论