码迷,mamicode.com
首页 >  
搜索关键字:null    ( 33914个结果
关于ognl.OgnlException: target is null for setProperty(null的解决方案
在跑struts2的时候有时候会出现上面的错,特别是新手,这种情况是在struts2高级的POJO访问时候出现的s警告:Error setting expression 'user.password' with value '[Ljava.lang.String;@1cb2dd1'ognl.Ognl...
分类:其他好文   时间:2015-02-26 20:15:52    阅读次数:142
Paint基本属性
public class GameView extends View implements Runnable{ Paint paint =null; public GameView(Context context) { super(context); paint = new Paint ();...
分类:其他好文   时间:2015-02-26 20:08:23    阅读次数:139
activity
CREATE TABLE `activitybaseprop` ( `ID` smallint(6) NOT NULL DEFAULT '0' COMMENT '活动ID 1:签到奖励 2:升级福利 3:天天美食 4:月卡系统 5:激活码兑换 6:分享 7:问卷调查 8:登录有礼', `Name.....
分类:其他好文   时间:2015-02-26 18:21:27    阅读次数:231
iOS开发之oc(十七)--Foundation(2)NSString及简单的字符串读取和写入
NSString : 不可变字符串NSMutableString : 可变字符串// 重点注意:URL不能读取文件名为中文的文件,否则为null,读不出来,要换为英文// URL读取文件才是万能下面是一些功能的代码1.创建和读取void stringCreate(){ /* 1.字符串...
分类:移动开发   时间:2015-02-26 18:17:58    阅读次数:125
Jsoup小Demo
Jsoup小Demo public class JsoupUtil { public void parseWangYi() { Document doc = null; try { //eg1:解析百度音乐 doc = Jso...
分类:Web程序   时间:2015-02-26 18:07:38    阅读次数:230
oracle的nvl和sql server的isnull
oracle的nvl和sql server的isnull 语法 ISNULL ( check_expression , replacement_value) 参数 check_expression 将被检查是否为 NULL的表达式。check_expression 可以是任何类型的。 rep...
分类:数据库   时间:2015-02-26 18:02:04    阅读次数:149
realloc
realloc 用过很多次了。无非就是将已经存在的一块内存扩大。char* p = malloc(1024);char* q = realloc(p,2048);现在的问题是我们应该如何处理指针 p。 刚开始按照我最直观的理解,如果就是直接将 p = NULL;。 到最后只需要释放 q的空间就可以了...
分类:其他好文   时间:2015-02-26 16:31:47    阅读次数:114
Android中通过get请求获取InputStream
public InputStream getStream(String url) throws IllegalStateException, IOException { HttpResponse response = null; int timeoutConnection = 10000; ...
分类:移动开发   时间:2015-02-26 16:13:22    阅读次数:135
安卓微信登陆
1、单击登陆图片按钮 public void loginMsgChat(){ if (mWeixinAPI == null) { mWeixinAPI = WXAPIFactory.createWXAPI(this, Content.MSG_APPID, false); } if (!mWeixinAPI.isWXApp...
分类:微信   时间:2015-02-26 15:00:32    阅读次数:305
leetcode——Swap Nodes in Pairs
思路1: class Solution { public: // 两个指针,p, q, q指向第二个,preP是p之前 ListNode *swapPairs(ListNode *head) { if(head == NULL) return NULL; auto p = head; auto q ...
分类:其他好文   时间:2015-02-26 13:10:49    阅读次数:133
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!