摘要: 1.sql = "Select top 10 * from tp ORDER BY id DESCselect是查询的意思top是指上面的select top 10意思就是查询前十个order by id desc 意思就是根据ID经行降序排列整个的意思就是根据id降序排列,查询出前10条数据2.s... 阅读全文
posted @ 2015-10-12 18:49 勇敢的二米 阅读(169) 评论(0) 推荐(0) 编辑
摘要: String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; ... 阅读全文
posted @ 2015-10-12 18:48 勇敢的二米 阅读(2295) 评论(0) 推荐(0) 编辑