码迷,mamicode.com
首页 >  
搜索关键字:called    ( 1945个结果
java jsp Struts2.X 文件上传
/****操作系统:WIN-XP*后台程序:Java*前端脚本:JavaScript/ExtJs/Html**做过的尝试:用form的submit方式提交,在后台request.getInputStream()取到的值*为null,而*request.getContentLength()是可以正常取值的。用request.getRead()抛出错误,requesthasbeen*called网查之后..
分类:编程语言   时间:2015-01-12 11:07:26    阅读次数:292
android错误之MediaPlayer用法的Media Player called in state *
用到Media Player,遇到几个问题,记一下用法就不说了,使用的时候最好参考一下mediaPlayer的这张图第一个错误是Media Player called in state 8这个是因为在调用start之前没有prepare,因为我是用了mediaPlayer = MediaPlayer.create(context, R.raw.notice);去初始化的播放器,这个接口说明只要成功...
分类:移动开发   时间:2015-01-10 22:23:32    阅读次数:350
Python之装饰器
Python之装饰器装饰器先来看一个例子,一个函数f1接收另一个函数f2作为参数,并将该参数f2返回给f2:def deco(func): print("before myfunc() called.") func() print("after myfunc() called.")...
分类:编程语言   时间:2015-01-09 19:08:02    阅读次数:221
Hibernate对象映射类型
Hibernate understands both the Java and JDBC representations of application data. The ability to read and write object data to a database is called ma...
分类:Web程序   时间:2015-01-09 17:06:06    阅读次数:868
update_dctcp_alpha
1 /* 2 + * Update dctcp alpha based on the ecn bit in the received packet. 3 + * This procedure is called only when dctcp_ is 1. 4 + */ 5 + void ...
分类:其他好文   时间:2015-01-09 12:03:12    阅读次数:178
关于SHA1的认识
在看《Pro git 2》时,有这么一段话: The mechanism that Git uses for this checksumming is called a SHA-1 hash. This is a 40-character string composed of hexadecimal...
分类:其他好文   时间:2015-01-09 10:38:11    阅读次数:281
Java中的内部类
内部类Inner Class   将相关的类组织在一起,从而降低了命名空间的混乱。   一个内部类可以定义在另一个类里,可以定义在函数里,甚至可以作为一个表达式的一部分。   Java中的内部类共分为四种:   静态内部类static inner class (also called nested class)   成员内部类member inner class ...
分类:编程语言   时间:2015-01-08 21:43:02    阅读次数:291
LintCode-Serialization and Deserialization Of Binary Tree
Design an algorithm and write code to serialize and deserialize a binary tree. Writing the tree to a file is called 'serialization' and reading back f...
分类:其他好文   时间:2015-01-08 13:17:33    阅读次数:207
[MODx] 8. Snippet get data, chunk display
Simple Example:Lets process this chunk and output its value. We have this Chunk, called "WelcomeChunk":Welcome [[+name]]!We'll put this in our Snippet...
分类:其他好文   时间:2015-01-08 00:48:11    阅读次数:258
[MODx] 6. Cache '!' with login package
1. Install login package.2. Create a Template called 'login':[[!Login? &loginResourceId=`13` // means after login, redirect resource 13 page, in ...
分类:系统相关   时间:2015-01-07 21:53:08    阅读次数:219
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!