上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 40 下一页
  2014年5月30日
摘要: 一、DOM练习: 1、左右选择搞定 2、省市二级联动 3、checkbox的全选、全不选二、JavaScript中的窗口操作三、基于JavaScript的客户端验证******四、AJAX原理 4.1概述 4.2编写步骤 1、测试与服务器的通信 a、创建XmlHttpRequest对象,固定写... 阅读全文
posted @ 2014-05-30 22:05 wf110 阅读(389) 评论(0) 推荐(0) 编辑
摘要: post请求 url后面加参数 接收不到的,必须 放到send("use"=user)形式还要加上 xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded");servlet 1 package cn.itcast... 阅读全文
posted @ 2014-05-30 18:59 wf110 阅读(3027) 评论(0) 推荐(0) 编辑
摘要: get 请求参数通过 url那里写进去,然后send(null)html文件和 servlet进行通信 通过ajax 进行通信 1 2 3 4 5 AJAX进行get方式的请求测试 6 7 8 9 10 11 12 77 ... 阅读全文
posted @ 2014-05-30 18:25 wf110 阅读(626) 评论(0) 推荐(0) 编辑
摘要: showModalDialog父窗口 1 2 3 4 a.html 5 6 7 8 9 10 13 14 15 16 客户id: 17 客户名称18 ... 阅读全文
posted @ 2014-05-30 16:57 wf110 阅读(1000) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-05-30 14:12 wf110 阅读(270) 评论(0) 推荐(0) 编辑
  2014年5月29日
摘要: sql表username password字段User类有 id username password等字段Service有一函数1 @Override2 3 public User findUser(String username) 4 {5 return userDao.findUser(... 阅读全文
posted @ 2014-05-29 16:17 wf110 阅读(1787) 评论(0) 推荐(0) 编辑
  2014年5月28日
摘要: 1 cookie存取: 2 存: Cookie cookie = new Cookie("title",URLEncoder.encode("标题","utf-8")) 3 cookie.setMaxAge(365 * 24 * 60 * 60); 4 res... 阅读全文
posted @ 2014-05-28 22:39 wf110 阅读(1612) 评论(0) 推荐(0) 编辑
摘要: user 1 public class User implements Serializable{ 2 private String username; 3 private String nick; 4 private String password; 5 publi... 阅读全文
posted @ 2014-05-28 22:35 wf110 阅读(2193) 评论(0) 推荐(0) 编辑
摘要: 1 public static String encode(String str) 2 { 3 String code=null; 4 try { 5 MessageDigest digest=MessageDigest.ge... 阅读全文
posted @ 2014-05-28 22:12 wf110 阅读(332) 评论(0) 推荐(0) 编辑
摘要: jsp页面中 FileItem的用法http://blog.csdn.net/smallhorn/article/details/7864658 1.boolean isFormField()。isFormField方法用来判断FileItem对象里面封装的数据是一个普通文本表单字段,还是... 阅读全文
posted @ 2014-05-28 11:09 wf110 阅读(1163) 评论(0) 推荐(0) 编辑
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 40 下一页