
SSI
刘承c
这个作者很懒,什么都没留下…
展开
-
applicationContext.xml详解
以下是详解Spring的applicationContext.xml文件代码: [html] view plaincopyprint? xml version="1.0" encoding="UTF-8"?> > beans> [html] view plaincopyprint? bean id=转载 2015-08-18 10:59:09 · 697 阅读 · 0 评论 -
mybatis3常见数据操作
一、一般增删查改操作 数据映射文件User.xml代码如下: [html] view plaincopyprint? xml version="1.0" encoding="UTF-8"?> "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> mapper namespace="UserMa转载 2015-08-18 10:30:53 · 831 阅读 · 0 评论 -
SSI框架搭建
SSI框架为struts、spring、ibatis,在该框架中,使用ibatis作为数据持久层,其中ibatis使用最新版本mybatis3。 注:本文使用版本:struts-2.3.4、spring-3.2.1、mybatis-3.2.1 一、框架下载 1、Struts2:http://struts.apache.org/download 2、Spring:htt转载 2015-08-18 09:33:15 · 1943 阅读 · 2 评论 -
Struts2的Annotation使用
从struts2.1开始,struts2不再推荐使用Codebehind作为零配置插件,而是改为使用Convention插件来支持零配置,和Codebehind相比,Convention插件更彻底,该插件完全抛弃配置信息,不仅不需要是使用struts.xml文件进行配置,甚至不需要使用Annotation进行配置,而是由struts2根据约定自动配置。 如何使用Convention 1.转载 2015-08-20 15:25:42 · 650 阅读 · 0 评论