上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页

2014年6月16日

jsp 验证码

摘要: 需要注意在resin下应该使用第二种方式://tomcat下 //resin下255) fc=255; if(bc>255) bc=255; int r=fc+random.nextInt(bc-fc); int g=fc+random.nextInt(bc-fc); int... 阅读全文

posted @ 2014-06-16 18:02 hzm_frank 阅读(199) 评论(0) 推荐(0) 编辑

2014年5月28日

html 图片上传预览

摘要: 本地图片预览 阅读全文

posted @ 2014-05-28 15:33 hzm_frank 阅读(170) 评论(0) 推荐(0) 编辑

2014年5月15日

JS高级特性

摘要: 一、JavaScript的同源策略参考链接:https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Same_origin_policy_for_JavaScript同源策略限制了一个源(origin)中加载文本或脚本与来自其它源(origin... 阅读全文

posted @ 2014-05-15 15:47 hzm_frank 阅读(267) 评论(0) 推荐(0) 编辑

2014年5月9日

Android 之 BroadcaseReceiver

摘要: 1.在AndroidManifest.xml中注册 2.在Activity中注册MyReceiver receiver = new MyReceiver();IntentFilter filter = ne... 阅读全文

posted @ 2014-05-09 08:56 hzm_frank 阅读(975) 评论(0) 推荐(0) 编辑

2014年5月7日

HttpUrlConnection post 乱码 终极解决方案

摘要: 今天遇到了java后台模拟http请求,以POST方式传参中文乱码,google了一下,大部分是在打开的HttpURLConnection的输入流的时候设置编码(utf-8),按照设置,试了下并没有解决问题,想了下原理,我本身就是全UTF-8环境,不设置utf-8,应该是也是utf-8的流。没办法就... 阅读全文

posted @ 2014-05-07 11:28 hzm_frank 阅读(6137) 评论(0) 推荐(0) 编辑

2014年5月4日

js获取网页屏高 屏宽

摘要: 阅读全文

posted @ 2014-05-04 11:15 hzm_frank 阅读(153) 评论(0) 推荐(0) 编辑

2014年4月29日

Http协议之content

摘要: 用android 通过http协议提交数据至服务器 content的内容代码如下:private static JSONObject connUpload(String baseUrl, Map params, String content) throws IOException, JSONExce... 阅读全文

posted @ 2014-04-29 15:44 hzm_frank 阅读(250) 评论(0) 推荐(0) 编辑

2014年4月11日

Extjs4 似bug非bug的东西修改

摘要: /** hzm modify * method: Ext.panel.Table.hasLockedColumns: function(columns) {} * function:支持extjs grid colums三元表达式,tbar支持三元表示 eg: user.users_type == 2 ? {text: "创建日期", flex: 1, dataIndex: 'create_time'} : null, var grid = Ext.create('Ext.grid.Panel', { columns: [ ... 阅读全文

posted @ 2014-04-11 16:49 hzm_frank 阅读(402) 评论(0) 推荐(0) 编辑

2014年4月2日

WebService Exceptions

摘要: 一、Exception in thread "main" java.lang.ExceptionInInitializerError at com.sun.xml.internal.bind.api.TypeReference.(TypeReference.java:76) at com... 阅读全文

posted @ 2014-04-02 21:10 hzm_frank 阅读(1747) 评论(0) 推荐(0) 编辑

2014年3月27日

Extjs4 desktop 图标自动换行,横纵排列 图标大小修改

摘要: 一、图标换行/*! * Ext JS Library 4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license *//** * @class Ext.ux.desktop.Desktop * @extends Ext.panel.Panel * This class manages the wallpaper, shortcuts and taskbar. */Ext.define('Ext.ux.desktop.Desktop', { exte 阅读全文

posted @ 2014-03-27 10:47 hzm_frank 阅读(1365) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页

导航