摘要: 当我们计算机与oracle编码不一致时,可能出现中文乱码问题,这时候我们只要将cmd的编码改成和oracle一致即可 (sql plus界面显示乱码) (更改cmd编码为UTF8后显示正常) 使用chcp 65001 命令改变字符集 附赠几个常用字符集: 936 简体中文(默认) 65001 UTF 阅读全文
posted @ 2017-05-06 14:32 止如初见 阅读(987) 评论(0) 推荐(1) 编辑
摘要: 易购商城 阅读全文
posted @ 2017-01-12 17:36 止如初见 阅读(164) 评论(0) 推荐(0) 编辑
摘要: <!-- struts2 result配置(常用的) 的类型 1、type默认是dispatcher 内部转发 2、redirect 重定向 3、chain 链条 4、redirectAction 重定向到Action --> <!-- 5、stream 流 6、httpheader 返回一个已经配 阅读全文
posted @ 2017-01-12 17:32 止如初见 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1 2 12 13 14 15 16 17 18 19 20 21 22 23 ... 阅读全文
posted @ 2017-01-06 11:28 止如初见 阅读(380) 评论(0) 推荐(0) 编辑
摘要: CSS类定义: 1、div easyui-window 生成一个window窗口样式。 属性如下: 1)modal:是否生成模态窗口。true[是] false[否] 2)shadow:是否显示窗口阴影。true[显示] false[不显示] 2、div easyui-panel ... 阅读全文
posted @ 2016-12-28 11:22 止如初见 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-12-28 11:21 止如初见 阅读(96) 评论(0) 推荐(0) 编辑
摘要: grant select,insert,update,delete on *.* to root@"%" Identified by "root"; 阅读全文
posted @ 2016-12-28 11:20 止如初见 阅读(178) 评论(0) 推荐(0) 编辑
摘要: MySQL字段加密和解密 1.加密:aes_encrypt('admin','key') 解密:aes_decrypt(password,'key') 2.双向加密 通过密钥去加密,解密的时候的只有知道这个密钥的人来解密 加密:encode() 解密:decode() eg:encode('123456' 'adfdgfdhgg... 阅读全文
posted @ 2016-12-28 11:18 止如初见 阅读(1556) 评论(1) 推荐(0) 编辑
摘要: package com.hkwy.util; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.AnnotationConfiguration; import org.hibernate.cfg.Configuration; public class Hibe... 阅读全文
posted @ 2016-12-28 11:16 止如初见 阅读(946) 评论(0) 推荐(0) 编辑