码迷,mamicode.com
首页 >  
搜索关键字:spring springmvc mybatis maven velocity    ( 77457个结果
上传Android或Java库到Maven central repository(转载)
主要介绍利用Sonatype将jar或aar提交到Maven的中央仓库。是不是希望将自己的jar或是aar传到maven官方库中,在The Central Repository中可以被其他人搜索使用呢,是的话,往下看吧。1、Sonatype简介Sonatype使用Nexus为开源项目提供托管服务。你...
分类:移动开发   时间:2014-05-24 00:24:11    阅读次数:484
SpringMVC学习系列(5) 之 数据绑定-2
在系列(4)中我们介绍了如何用@RequestParam来绑定数据,下面我们来看一下其它几个数据绑定注解的使用方法。1.@PathVariable 用来绑定URL模板变量值,这个我们已经在系列(3)中介绍了使用方法,这里不在赘述。2.@CookieValue 用来绑定Cookie中的数据。下面我们用...
分类:编程语言   时间:2014-05-24 00:11:48    阅读次数:437
Maven常用插件配置和使用
主要介绍Maven的几个常见第三方插件(cobertura、findbugs、source、assembly、插件开发)配置和使用,接Maven介绍maven本质上是一个插件框架,它的所有工作都交给插件来做,每个插件可以有多个goal。除了自带的插件之外还有很多比较成熟的第三方插件,我们也很容易上手...
分类:其他好文   时间:2014-05-23 23:33:48    阅读次数:443
利用反射模拟一个spring的内部工作原理
这个简单的案例是实行了登录和注册的功能,没有链接数据库。在bean中id 是唯一的,id和name的区别在于id不能用特殊字符而name可以用特殊字符,比如:/-\.... 1 package com.obtk.reflect; 2 3 public class Logon { 4 /**...
分类:编程语言   时间:2014-05-23 23:21:32    阅读次数:497
【spring】实现restful
1. 创建一个新的web工程,导入springMVC的jre包。2. web.xml添加配置 index.jsp webAppRootKey springmvc.root contextC...
分类:编程语言   时间:2014-05-23 22:24:41    阅读次数:452
Maven Build Profiles--reference
What is Build Profile?ABuild profileis a set of configuration values which can be used to set or override default values of Maven build. Using a build...
分类:其他好文   时间:2014-05-23 12:13:49    阅读次数:426
Spring 3.2 @Autowired异常:expected single matching bean but found 2
在使用Sping做单元测试时候,对RequestMappingHandlerAdapter(从处理器包装过来的适配器)进行自动装配,发现报:expected single matching bean but found 2异常,意思是需要匹配单个Bean,但是却找到两个;我在spring-serv....
分类:编程语言   时间:2014-05-23 11:16:12    阅读次数:440
springMVC3学习(七)--Interceptor拦截器
Spring为我们提供了:org.springframework.web.servlet.HandlerInterceptor接口,org.springframework.web.servlet.handler.HandlerInterceptorAdapter适配器,实现这个接口或继承此类,可以非常方便的实现自己的拦截器。有以下三个方法:Action之前执行public boolean preH...
分类:编程语言   时间:2014-05-22 11:53:48    阅读次数:241
bzoj 3198: [Sdoi2013]spring 题解
【原题】 3198: [Sdoi2013]spring Time Limit: 40 Sec  Memory Limit: 256 MB Submit: 253  Solved: 95 Description Input Output Sample Input 3 3 1 2 3 4 5 6 1 2 3 0 0 0 ...
分类:编程语言   时间:2014-05-22 09:50:42    阅读次数:394
Spring Quartz结合Spring mail定期发送邮件
文件配置如下: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xsi:sch...
分类:编程语言   时间:2014-05-22 07:38:58    阅读次数:388
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!