- 博客(6)
- 资源 (6)
- 收藏
- 关注
原创 jquery取值和ajax提交复习记录
[code="js"] // 取值 // alert($("input[name='username']").val()); // alert($("input[name='password']").val()); // alert($("input[name='sex']:checked").val()); // alert($("input[name='sex']:check...
2014-12-15 10:24:39
68
原创 json数据解析及typeof
[code="js"] // json格式 var people='{"authors": [{"firstName": "AAA","lastName": "BBB"},' +' {"firstName": "CCC","lastName": "D
2014-11-19 09:56:38
99
原创 上传、下载压缩图片
[code="java"]/** * * @param uploadImage --本地路径(tomacat路径) * @param serverDir --服务器路径 * @param imageType --文件或图片类型 * 此方法可以上传文件或图片.txt,.jpg,.gif等 */ public void upload(String up...
2014-08-09 16:40:05
54
原创 读书笔记-3
1、resultMap配置 2、ibatis一对多配置 3、jquery笔记 [code="java"]1、resultMap配置 当 必须一一对应。 (1) select topicid topicId, title title, content content, publishtime p...
2014-07-20 21:05:30
54
原创 主页面子页面传值总结
[code="js"]1、showModalDialog returnValue是javascript中html的window对象的属性,目的是返回窗口值,当用window.showModalDialog函数打开一个IE的模式窗口时,用于返回窗口的值 主界面 var sonValue=window.showModalDialog("son.jsp"); 子界面 window.ret...
2014-07-04 20:58:04
107
原创 事务与并发
一:首先我们先来看段代码 [code="java"]conn.setAutoCommit(false); int count1=utilConn.updateData(conn, "update dict_cost_subj set is_hr='0'"); if(count1!=-1){ int count2=utilConn.updateData(conn, "up...
2014-07-03 11:25:25
58
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人