
Sping
On_the_orad
这个作者很懒,什么都没留下…
展开
-
Spring的事务传播特性
PROPAGATION_REQUIRED Support a current transaction; create a new one if none exists. 支持一个当前事务;如果不存在,创建一个新的。 This is typically the default setting of a transaction definition, and typically原创 2015-11-13 12:47:51 · 305 阅读 · 0 评论 -
StringUtils的isBlank与isEmply 的用法
public static boolean isEmpty(String str) 判断某字符串是否为空,为空的标准是 str==null 或 str.length()==0 下面是 StringUtils 判断是否为空的示例: StringUtils.isEmpty(null) = true StringUtils.isEmpty(“”) = true StringUtils.isE转载 2016-02-17 14:58:31 · 491 阅读 · 0 评论 -
spring MVC配置详解
现在主流的Web MVC框架除了Struts这个主力 外,其次就是Spring MVC了,因此这也是作为一名程序员需要掌握的主流框架,框架选择多了,应对多变的需求和业务时,可实行的方案自然就多了。不过要想灵活运用Spring MVC来应对大多数的Web开发,就必须要掌握它的配置及原理。 一、Spring MVC环境搭建:(Spring 2.5.6 + Hibernate 3.2.0) 1. ja转载 2016-05-04 09:24:19 · 332 阅读 · 0 评论