02 2016 档案

maven项目,在spring中整合mybatis
摘要:一、pom.xml配置,导入所需jar包 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http 阅读全文

posted @ 2016-02-04 18:20 Neonuu 阅读(766) 评论(0) 推荐(0)

maven项目spring框架中整合restful
摘要:一、restful介绍 springmvc的resturl是通过@RequestMapping 及@PathVariable annotation提供的,通过如@RequestMapping(value="/blog /{id}",method=RequestMethod.DELETE)即可处理/b 阅读全文

posted @ 2016-02-04 17:48 Neonuu 阅读(663) 评论(0) 推荐(0)

maven项目中搭建spring框架
摘要:1.首先看一下,项目结构: 2.在pom.xml添加依赖,这样spring所需要的jar包就自动下载到项目中了 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema 阅读全文

posted @ 2016-02-03 21:32 Neonuu 阅读(1194) 评论(0) 推荐(0)