
spring
jackpk
这个作者很懒,什么都没留下…
展开
-
Spring 2.5 注解 知识点
依赖注入-------------------------------------------------1.手工装配依赖对象 手工装配依赖对象,有两种编程方式 (1) 在xml配置文件中,通过在bean节点下配置,如 //构造器注入 //属性setter方法注入 (2) 在java代码中使用@Autowired或@Resource注解方式进行装配。但我们需要在xml配置文件中配置以下信原创 2009-11-13 13:36:00 · 2145 阅读 · 0 评论 -
Ehcache简介
Ehcache简介系列文章Ehcache简介http://www.iteye.com/blogs/subjects/ehcache转载 2015-08-26 16:17:34 · 704 阅读 · 0 评论 -
springMVC介绍
springMVC介绍系列文章很不错springMVC介绍http://www.iteye.com/blogs/subjects/springMVC转载 2015-08-26 16:09:14 · 555 阅读 · 0 评论 -
Mybatis简介
Mybatis简介系列文章很不错Mybatis简介http://www.iteye.com/blogs/subjects/mybatis转载 2015-08-26 16:12:31 · 450 阅读 · 0 评论 -
Spring Security简介
Spring Security简介系列文章Spring Security简介http://www.iteye.com/blogs/subjects/spring_security转载 2015-08-26 16:14:37 · 549 阅读 · 0 评论 -
SpringMVC从Controller跳转到另一个Controller
SpringMVC从Controller跳转到另一个ControllerrefUrl: http://blog.youkuaiyun.com/liupeng_family/article/details/38229125?utm_source=tuicool1. 需求背景 需求:spring MVC框架controller间跳转,需重定向。有几种情况:不带参数跳转,带参数拼接url形式跳转载 2015-03-07 16:44:30 · 93453 阅读 · 8 评论 -
Spring MVC+Mybatis+Maven+Velocity+Mysql整合实例
Spring MVC+Mybatis+Maven+Velocity+Mysql整合实例http://blog.youkuaiyun.com/a123demi/article/details/43156479 一Maven工程目录二Spring mvc mybatis maven实现Mysql数据库表数据Maven依赖引入pomxml实体类UserEntityjava业务逻辑接口Serv转载 2015-01-27 19:09:49 · 6483 阅读 · 0 评论 -
spring mvc 请求转发和重定向
spring mvc3中的addFlashAttribute方法url: http://www.software8.co/wzjs/java/2943.html 记得在spring mvc2中,当保存POJO到数据库后,要返回成功页面,如果这个时候要带点信息, 则要这样: Java代码: //第三个参数(UserModel user转载 2014-02-12 16:15:29 · 428911 阅读 · 14 评论 -
spring java.lang.IllegalArgumentException:。。。 no matching editors or conversion strategy found异常
项目开发过程中,spring报出如下异常:java.lang.IllegalArgumentException: Cannot convert value of type [$Proxy3] to required type [com.aa.bb.cc.service.OrderService] for property 'orderService': no matching editors原创 2013-07-11 08:00:47 · 13242 阅读 · 0 评论 -
Spring3注解零配置
Spring3注解零配置url:私塾在线 http://sishuok.com/forum/blogPost/list/2552.html我们在以前学习 Spring 的时候,其所有的配置信息都写在 applicationContext.xml 里,大致示例如下: <aop:advisor advi转载 2013-04-16 09:45:39 · 1167 阅读 · 0 评论 -
Spring 注解
Spring 3.0 注解注入详解 url: http://17zouguo.iteye.com/blog/998964http://hanyexiaoxiao.iteye.com/blog/410123 一、各种注解方式 1.@Autowired注解(不推荐使用,建议使用@Resource) @Autowired可以对成员变量、方法和构造函数进行标注,来完成自动转载 2013-04-15 21:29:35 · 802 阅读 · 0 评论 -
java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
spring2.5.jar启动tomcat时 log4j debug信息:2013.03.16 21:25:43 171 DEBUG ClassUtils(164): Class [edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap] or one of its dependencies is not pres原创 2013-03-16 22:03:56 · 7915 阅读 · 0 评论 -
SpringMVC中使用Interceptor拦截器
SpringMVC中使用Interceptor拦截器url: http://haohaoxuexi.iteye.com/blog/1750680 SpringMVC 中的Interceptor 拦截器也是相当重要和相当有用的,它的主要作用是拦截用户的请求并进行相应的处理。比如通过它来进行权限验证,或者是来判断用户是否登陆,或者是像12306 那样子判断当前时间是否是转载 2015-08-26 16:07:41 · 1497 阅读 · 0 评论