摘要:
创建订单页:订单页包含User信息。 package com.student.po;public class Orders { pr... 阅读全文
posted @ 2019-10-25 10:19
飞行的猪哼哼
阅读(72)
评论(0)
推荐(0)
|
摘要:
创建订单页:订单页包含User信息。 package com.student.po;public class Orders { pr... 阅读全文
posted @ 2019-10-25 10:19
飞行的猪哼哼
阅读(72)
评论(0)
推荐(0)
摘要:
数据绑定:将请求消息转换成后台方法参数的过程。 数据绑定的过程: 1.将ServletRequest传递给DataBinder。 2... 阅读全文
posted @ 2019-10-24 21:36
飞行的猪哼哼
阅读(60)
评论(0)
推荐(0)
摘要:
package com.student.controller;import javax.servlet.http.HttpServl... 阅读全文
posted @ 2019-10-23 21:20
飞行的猪哼哼
阅读(62)
评论(0)
推荐(0)
摘要:
web.xml文件,放在WEB-INF目录下。 springmvc org.springframework.web.... 阅读全文
posted @ 2019-10-23 20:44
飞行的猪哼哼
阅读(31)
评论(0)
推荐(0)
摘要:
将配置文件增加以下内容: mybatis-config中注释掉以下内容: --> CustomerMap... 阅读全文
posted @ 2019-10-20 15:28
飞行的猪哼哼
阅读(37)
评论(0)
推荐(0)
摘要:
重新创建一个CustomerMapper的接口: package com.student.mapper;import com.stu... 阅读全文
posted @ 2019-10-19 20:03
飞行的猪哼哼
阅读(57)
评论(0)
推荐(0)
摘要:
传统DAO方式的开发整合 采用传统DAO方式的开发整合需要编写DAO接口以及接口的实现类 ,并且需要向DAO实现类中注入SqlSes... 阅读全文
posted @ 2019-10-18 11:43
飞行的猪哼哼
阅读(84)
评论(0)
推荐(0)
摘要:
log4j.properties # Global logging configurationlog4j.rootLogger=ER... 阅读全文
posted @ 2019-10-17 21:09
飞行的猪哼哼
阅读(27)
评论(0)
推荐(0)
摘要:
在MySQL中添加表和字段如下: log4j.properties:日志文件:作用:让控制台输出SQL语句。 # Global l... 阅读全文
posted @ 2019-10-17 21:04
飞行的猪哼哼
阅读(26)
评论(0)
推荐(0)
摘要:
初始数据库的样子: 修改Account,增加两个方法: package com.student.jdbc;import java.... 阅读全文
posted @ 2019-10-16 20:41
飞行的猪哼哼
阅读(102)
评论(0)
推荐(0)
|