2015年1月21日

java截取字符串,截串,substring和split,分割字母和数字,正则缝隙

摘要: http://heisetoufa.iteye.com/blog/227238如果用竖线“|”分隔的话,将出现不可得到的结果,必须改为“\\|”如果用竖线“.”分隔的话,将出现不可得到的结果,必须改为“\\.”给定以下字符串:zhangsan:89|lisi:90|wangwu:78要求拆分成:zh... 阅读全文

posted @ 2015-01-21 13:56 ziyi_ang 阅读(616) 评论(0) 推荐(0) 编辑

mysql 安装错误1045

摘要: 不要输入密码。提示输入密码直接按回车就能进去。所有的操作都可以进行。如果想改密码很简单的。use mysqlupdate user set password=password('newpassword') where user='root';flush privileges; 阅读全文

posted @ 2015-01-21 13:46 ziyi_ang 阅读(95) 评论(0) 推荐(0) 编辑

hibernate-annotation 方式

摘要: hibernate官网:http://www.hibernate.org/annotation[ænə'teɪʃ(ə)n]注释jar包在hibernate-distribution-3.5.6-Final里,因为hibernate3的包下有hibernate-annotations.jar和hibe... 阅读全文

posted @ 2015-01-21 13:45 ziyi_ang 阅读(72) 评论(0) 推荐(0) 编辑

hibernate 最基本存入数据

摘要: 依据参考手册去开发!\hibernate-distribution-3.5.6-Final\hibernate-distribution-3.5.6-Final\documentation\manual\zh-CN\html_single 阅读全文

posted @ 2015-01-21 13:44 ziyi_ang 阅读(87) 评论(0) 推荐(0) 编辑

配置hibernate(myeclipse8.6)

摘要: http://blog.sina.com.cn/s/blog_8d0d1d160101f3p0.html 阅读全文

posted @ 2015-01-21 13:43 ziyi_ang 阅读(68) 评论(0) 推荐(0) 编辑

去除开机密码

摘要: 开始----运行,输进:Control Userpasswords2 在弹出的“用户帐户”对话窗中“要应用本机,用户必需输入用户名和密码”前复选框中的勾去掉。然后在主动登陆对话窗中输入用户名和密码然后在高级选项里,把要求用户按ctrl+alt+del 勾也去掉。 阅读全文

posted @ 2015-01-21 12:33 ziyi_ang 阅读(115) 评论(0) 推荐(0) 编辑

局域网的几个小功能

摘要: 1 查看本地ip地址:cmd -->ipconfig2 测试链接是否成功cmd -->ping ip3 访问对方文件: 1)对方需要共享 2)在我的电脑 地址栏 里 输入 \\ ip地址 eg:\\192.168.0.224 访问自己共享的文件 1)第一种方法:\\127.0.0.1 2) 第二种方... 阅读全文

posted @ 2015-01-21 12:32 ziyi_ang 阅读(118) 评论(0) 推荐(0) 编辑

ssh包及项目搭建

摘要: [struts2]\struts-2.3.1.2-all\struts-2.3.1.2\apps\struts2-blank.war\WEB-INF\lib 的所有包asm-3.3.jarasm-commons-3.3.jarasm-tree-3.3.jarcommons-fileupload-1.... 阅读全文

posted @ 2015-01-21 12:31 ziyi_ang 阅读(120) 评论(0) 推荐(0) 编辑

ssh设计

摘要: 设计模式:单利模式(singleton),有两种,分别是懒汉式和饿汉式1.懒汉式class A{ private static A instance ; private A(){ }public static A getInstance(){ if(instance==null){ instance... 阅读全文

posted @ 2015-01-21 12:29 ziyi_ang 阅读(258) 评论(0) 推荐(0) 编辑

FCKeditor编辑器添加图片上传功能及解决图片路径问题

摘要: 现在很多CMS系统因为安全原因会把后台编辑器里的上传功能给去除,但这样一来对实际使用过程造成了很多麻烦,今天我们以ASPCMS系统的FCKeditor编辑器为例,说明一下如何增加图片上传功能。1. 打开网站后台编辑器里的admin/editor/fckconfig.js这个文件找到FCKConfig... 阅读全文

posted @ 2015-01-21 12:26 ziyi_ang 阅读(202) 评论(0) 推荐(0) 编辑

导航