- 博客(3)
- 问答 (3)
- 收藏
- 关注
原创 mvc之添加数据
添加数据回显:在input中 value="<%=request.getParamter(”name“)==null?”“:request.getParamter(”name“)%>"同上检查是否name被占用调用 CustomerDAO的getCountWithName(String name)获取name在数据库是否存在long count=CustomerDAO.getCoun...
2018-02-28 18:59:25 1252
原创 mvc删除操作
1.什么时候使用重定向若目标页面不需要读取当前请求的request属性,就可以使用重定向重定向到query.do 将显示删除后的Customer的list2.确定要删除吗index。jsp中$(function(){ $(".delete").click(function(){ var content=$(this).parent().parent().find...
2018-02-28 13:58:03 1608 5
原创 mvc之模糊查询
模糊查询String sql="select id,name,phone from customer where name like ? and phone like ?"1.为什么要新建一个CriteriaCustomer类需要在CustomerDAO接口中定义一个getForListWithCriteriaCustomer(CriteriaCustomer cc)其中CriteriaCusto...
2018-02-27 18:44:11 1464
空空如也
jQuery DOM java
2017-09-22
大神们,为啥调用时出错?为啥调用时出错?为啥调用时出错?
2017-02-17
TA创建的收藏夹 TA关注的收藏夹
TA关注的人