摘要: 作者: hzboy192@192.comBlog: http://my.csdn.net/peng_hao1988版本总览:http://blog.csdn.net/peng_hao1988/article/details/9026897实现步骤:一、导入Spring3.0、Hibernate3.0... 阅读全文
posted @ 2012-04-01 01:09 Pocter 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 1.导出整个数据库 mysqldump -u 用户名 -p 数据库名 > 导出的文件名 mysqldump -u wcnc -p smgp_apps_wcnc > wcnc.sql2.导出一个表 mysqldump -u 用户名 -p 数据库名 表名> 导出的文件名 mysqldump -... 阅读全文
posted @ 2011-12-20 17:12 Pocter 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 格式化日期 String-->Date 或者 Data-->String SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");Date date = sdf.parse("2009-11-04");//String-->DateStri... 阅读全文
posted @ 2011-10-31 23:00 Pocter 阅读(263) 评论(0) 推荐(0) 编辑
摘要: ·显示版本树把svnkit.jar添加到项目中,用于实现svn功能。把jackson-all-1.6.2.jar添加到项目中,用于显示树列表。把javaee.ar添加到项目中。新建一个类(SVNUtil.class)实现svn功能privateStringsvnRoot;privateStringu... 阅读全文
posted @ 2011-10-13 21:32 Pocter 阅读(471) 评论(0) 推荐(0) 编辑
摘要: 1:#status.odd 是否奇数行2:#status.count 当前行数3:#status.index 当前行的序号,从0开始『#status.count=#status.index+1』4:#status.first 是否第一行5:#status.last 是否最后一行6:#status.m... 阅读全文
posted @ 2011-09-16 19:03 Pocter 阅读(378) 评论(0) 推荐(0) 编辑
摘要: function getYestoday(date){ var yesterday_milliseconds=date.getTime()-1000*60*60*24; var yesterday = new Date(); yesterday.setTime(y... 阅读全文
posted @ 2011-09-16 13:04 Pocter 阅读(1028) 评论(0) 推荐(0) 编辑
摘要: XmlWebApplicationContext是spring在web应用中的context,在ContextLoaderListener或ContextLoaderServlet中完成了初步的设置。XmlWebApplicationContext跟其他的applicationContext(Fil... 阅读全文
posted @ 2011-09-13 22:32 Pocter 阅读(491) 评论(0) 推荐(0) 编辑
摘要: messages lang 阅读全文
posted @ 2011-09-13 22:12 Pocter 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 文件上传(File upload)Ajax File Upload.jQUploader.Multiple File Upload plugin.jQuery File Style.Styling an input type file.Progress Bar Plugin.表单验证(Form Validation)jQuery Validation.Auto Help.Simple jQuery form validation.jQuery XAV - form validations.jQuery AlphaNumeric.Masked Input.TypeWatch Plugin.Tex 阅读全文
posted @ 2011-09-03 00:11 Pocter 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 一、基于浏览器语言的国际化配置使用Spring的MVC,并且配置中有配置Resource文件xml 代码 其中,message-info是你的properties文件的通用名。如:我的配置文件叫message-info.properties,message-info_zh_CN.pro... 阅读全文
posted @ 2011-08-21 12:07 Pocter 阅读(352) 评论(0) 推荐(0) 编辑