引起的原因: 由于设置了@ResponseBody,要把对象转换成json格式,缺少转换依赖的jar包,故此错。解决办法:1 2 org.codehaus.jackson3 jackson-core-asl4 5 6 ...
分类:
其他好文 时间:
2014-08-05 00:14:08
阅读次数:
754
jstree是一款功能强大的插件。官网地址http://www.jstree.com/ $('#jstree').jstree({ "core" : { "animation" : 0, ...
分类:
Web程序 时间:
2014-08-04 21:08:37
阅读次数:
738
最近碰到了CFObject和NSObject转换的问题,由于ARC不能管理Core Foundation Object的生命周期,所以在Core Foundation和ARC之间,我们需要使用到__bridge,__bridge_retained和__bridge_transfer三个转换关键字。根...
分类:
其他好文 时间:
2014-08-04 17:11:57
阅读次数:
179
1、关闭集群 2、通过修改core-site.xml ??<property>
????<name>fs.checkpoint.period</name>
????<value>180</value><!--单位为秒-->
??</property>
??<property>
????<name>fs.checkpoint.d...
分类:
其他好文 时间:
2014-08-04 14:48:57
阅读次数:
202
今天我们研究一下如何在Android手机上显示GIF动态图片。
首先需要在src目录下新建一个自定义的View,代码如下:
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Movie;
import android.util.AttributeSet;
import ...
分类:
移动开发 时间:
2014-08-04 14:32:37
阅读次数:
266
OpenGL and Graphics PipelineThe word pipeline is from production lines in factories.Generating a product at high efficiency and volume generally requi...
分类:
其他好文 时间:
2014-08-04 14:07:37
阅读次数:
368
iOS对屏幕反应的优先级是最高的,它的响应顺序依次为Touch--Media--Service--Core架构,当用户触摸接触了屏幕时,系统最先去处理屏幕显示也就是Touch这个层级,然后才是媒体、服务以及Core架构等。而Android系统的优先级响应层级则是Application--Fram.....
分类:
移动开发 时间:
2014-08-04 13:30:47
阅读次数:
196
AnyChat Platform Core SDK V4.0新增了对IP组播技术的支持,下面介绍如何使用相关的API接口,典型的加入多播组,并向多播组发送数据的代码如下:1.// 设置本地组播策略2.DWORDdwMultiCastPolitic = 1;3.BRAC_SetSDKOption(BR...
分类:
其他好文 时间:
2014-08-04 10:51:47
阅读次数:
246
Oracle Database - Enterprise Edition - Version 8.1.7.4 and later Information in this document applies to any platform. **Checked for relevance 06-Apr-...
分类:
数据库 时间:
2014-08-04 10:45:27
阅读次数:
363
图像IO潜伏期值得思考- 凯文 帕萨特在第13章“高效绘图”中,我们研究了和Core Graphics绘图相关的性能问题,以及如何修复。和绘图性能相关紧密相关的是图像性能。在这一章中,我们将研究如何优化从闪存驱动器或者网络中加载和显示图片。加载和潜伏绘图实际消耗的时间通常并不是影响性能的因素。图片消...
分类:
其他好文 时间:
2014-08-04 10:34:17
阅读次数:
459