- 博客(5)
- 资源 (10)
- 收藏
- 关注
原创 java保留有几位小数
<br />DecimalFormat df=(DecimalFormat) DecimalFormat.getInstance(); <br />df.applyPattern("0.00");//保留小数后几位 <br />System.out.println(df.format(12)); <br />System.out.println(df.format(12.1)); <br />System.out.println(df.format(12.2222222));
2010-12-16 10:45:00
381
原创 a different object with the
net.sf.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: .........这样的问题不知道大家有没有遇到?SessionFactory sessionFactory= new Co
2010-12-16 10:37:00
414
原创 详解 Spring 3.0 基于 Annotation 的依赖注入实现
Spring 自 2.0 版本开始,陆续引入了一些注解用于简化 Spring 的开发。@Repository 注解便属于最先引入的一批,它用于将数据访问层 (DAO 层 ) 的类标识为 Spring Bean。具体只需将该注解标注在 DAO 类上即可。同时,为了让 Spring 能够扫描类路径中的类并识别出 @Repository 注解,需要在 XML 配置文件中启用 Bean 的自动扫描功
2010-12-14 14:41:00
323
原创 详解 Spring 3.0 基于 Annotation 的依赖注入实现
详解 Spring 3.0 基于 Annotation 的依赖注入实现<br /> 张 建平, 项目经理, iSoftStone Co.,Ltd张建平,长期专注于 Java 技术,精通 SpringSource 框架集 (Spring Framework,Spring Security,Spring Roo 等 ),善于使用基于 Spring 和 Hibernate 为中心的轻量级框架进行项目开发,并对 Java EE 规范有深入研究,擅长使用 EJB 和 JPA 进行复杂业务的架构和开发。<br /> <
2010-12-14 14:34:00
694
原创 正则表达式大全
1JS正则表达式 代码 "^//d+$" //非负整数(正整数 + 0) "^[0-9]*[1-9][0-9]*$" //正整数 "^((-//d+)|(0+))$" //非正整数(负整数 + 0) "^-[0-9]*[1-9][0-9]*$" //负整数 "^-?//d+$" //整数 "^//d+(//.//d+)?
2010-06-30 14:45:00
588
WebService
2012-03-05
webservice axis.jar
2012-02-29
companionjs
2011-09-24
jaxen-1.1.1
2011-07-14
dom4j-1.6.1
2011-07-14
Struts2入门教程
2010-12-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人