一. spring+struts2+ibatis 框架 搭建教程 参考:http://biancheng.dnbcw.net/linux/394565.html 二.分层 1.dao: 数据访问层(增删改查):一个接口,一个实现类,实现类需要继承 SqlMapClientDaoSupport 2.service:业务逻辑层:一个接口,一个实现类 ,在实现类添加dao的注入3.action: 表示层 需要继承 ActionSupport ,添加service的注入 4.model :实体类5.co…