摘要:
1.创建分页实体类 public class PageBean { private int page; // 页码 private int rows; // 每页显示行数 private int start; // 某一页从第几条开始 public PageBean(int page, int ro 阅读全文
posted @ 2016-01-20 21:12
Simle
阅读(236)
评论(0)
推荐(0)
摘要:
1.日期工具类 import java.text.SimpleDateFormat; import java.util.Date; public class DateUtil { public static String formatDate(Date date,String format){ St 阅读全文
posted @ 2016-01-20 21:02
Simle
阅读(258)
评论(0)
推荐(0)
摘要:
1.引入相关jar包 2.配置Spring配置文件,命名为applicationContext.xml(配置好后放到src目录下) <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3. 阅读全文
posted @ 2016-01-20 20:58
Simle
阅读(436)
评论(0)
推荐(0)