1 2 3 4 5 ··· 7 下一页

摘要: <?xml version="1.0" encoding="UTF-8"?><web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:sc 阅读全文
posted @ 2016-08-20 12:34 JesseCary 阅读(303) 评论(0) 推荐(1)

2017年7月8日

摘要: <td> <select id="roleName" name="roleName" class="input" style="margin-top: 15px;height: 24px"> <option value="">请选择用户类型...</option> <option value="系统 阅读全文
posted @ 2017-07-08 23:38 JesseCary 阅读(3323) 评论(0) 推荐(0)
摘要: package ssmy.page; /** * 分页类 * @author Jesse * */public class PageBean { private int page;//第几页 private int pageSize;//每页显示的记录数 private int start ;//起 阅读全文
posted @ 2017-07-08 23:35 JesseCary 阅读(312) 评论(0) 推荐(0)
摘要: service层: @Override public void batchDeletes(List list) { creditDao.batchDeletes(list); } 控制层controller: /** * 批量删除 batch */ @RequestMapping(value="/b 阅读全文
posted @ 2017-07-08 23:31 JesseCary 阅读(470) 评论(0) 推荐(0)
摘要: web.xml最上方 <welcome-file-list> <welcome-file> /view/login.jsp </welcome-file> </welcome-file-list> 浏览器上直接访问 即可 http://localhost:8080/ssmy/ 即可 如果没有配置: 阅读全文
posted @ 2017-07-08 23:25 JesseCary 阅读(1016) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE mapperPUBLIC "-//mybatis.org//DTD Mapper 3.0//EN""http://mybatis.org/dtd/mybatis-3-mapper.dtd"><mappe 阅读全文
posted @ 2017-07-08 23:23 JesseCary 阅读(633) 评论(0) 推荐(0)

2016年8月27日

摘要: 序列化:内存到文件 他是输出流 ObjectOutputStream 需要强制类型转换 必须实现seriazable接口 反序列化:文件到内存 输入流 ObjectInputStream 需要强制类型转换 输入流:元数据源 (文件)硬盘到内存 InputOutStream 输出流:目标数据源 内存到 阅读全文
posted @ 2016-08-27 23:01 JesseCary 阅读(398) 评论(0) 推荐(0)

2016年8月24日

摘要: #welcome为modelAndView.setViewName(" welcome " ) ; 中的welcome .(class)固定写法 welcome.(class)=org.springframework.web.servlet.view.velocity.VelocityView #w 阅读全文
posted @ 2016-08-24 09:39 JesseCary 阅读(253) 评论(0) 推荐(0)
摘要: ?xml version="1.0"encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2016-08-24 09:36 JesseCary 阅读(1197) 评论(0) 推荐(0)

2016年8月23日

摘要: 1.web.xml里配置 <!-- 配置 org.springframework.web.filter.HiddenHttpMethodFilter: 可以把 POST 请求转为 DELETE 或 put 请求 --> <filter> <filter-name>HiddenHttpMethodFi 阅读全文
posted @ 2016-08-23 22:45 JesseCary 阅读(435) 评论(0) 推荐(0)

2016年8月20日

摘要: springmvc+spring+mybatis整合:1. 拷贝所需jar2. 创建spring配置文件(beans.xml)3. 配置数据源 <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"> <proper 阅读全文
posted @ 2016-08-20 13:30 JesseCary 阅读(250) 评论(0) 推荐(0)
1 2 3 4 5 ··· 7 下一页

导航