`
反求诸己
  • 浏览: 534102 次
  • 性别: Icon_minigender_1
  • 来自: 湖南娄底
社区版块
存档分类
最新评论
文章列表
环境准备: eclipse(Helios) 3.6maven 3.0.4   maven3 安装:     安装 Maven 之前要求先确定你的 JDK 已经安装配置完成。Maven是 Apache 下的一个项目,目前最新版本是 3.0.4,我用的也是这个。     首先去官网下载 Maven:http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.0.4-bin.tar.gz     下载完成之后将其解压,我将解压后的文件夹重命名成 maven,并将它放在 D:\Server 目录下,即 mave ...
Fixing the Eclipse PermGen Space (Out of Memory) Error When Using JDK 1.6.0_21 Eclipse has a very serious bug where it does not properly pass the memory limits from eclipse.ini to Java. As a result, Eclipse quickly runs out of memory and crashes with little warning and few obvious error messages. T ...
Source from : http://www.pearsonitcertification.com/articles/article.aspx?p=29786&seqNum=3   The Internet's original purpose was to access and copy files from one computer to another far away (they already had short distance networks by then, but they were expensive, proprietary, and not read ...

Servlet Versions

Servlet Versions A Servlet is the part of the Java Servlet API . This API has protocol according to which a Java class may respond to HTTP requests. The first servlet API with complete specification was released by Sun Microsystems in June 1997. This was named as Servlet 1.0. Java community  proc ...
首先,我们先来看看XMLHttpRequest这个对象的属性。 它的属性有: onreadystatechange 每次状态改变所触发事件的事件处理程序。 responseText     从服务器进程返回数据的字符串形式。 respon***ML   从服务器进程返回的DOM兼容的文档数据对象。 status           从服务器返回的数字代码,比如常见的404(未找到)和200(已就绪) status Text       伴随状态码的字符串信息
To get Tomcat, visit the following link: http://tomcat.apache.org/. Once there, click on the Tomcat 5.5 link under the Download heading. Under Core, select the tar.gz file. Download the tar.gz file. Mac OS X will probably extract the file to a .tar file in your downloads directory. Move this .tar f ...
1:本地和推送通知编程指南 原文:http://developer.apple.com/library/mac/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008194-CH1-SW1 译文:附件1-本地和推送通知编程指南.pdf     2:核心动画编程指南 原文:Core Animation Programming Guide 链接:http://dev ...
转载自:http://www.cnblogs.com/pengyingh/articles/2341067.html   随着微博、LBS 等移动互联网服务的火爆普及,越来越多的苹果开发者希望制作各网络服务的 iPhone 客户端。CocoaChina 会员 “qdvictory” 的《基于网络的客户端开发技巧》系 ...
dataDetectorTypes的意思是自动识别某些类型的文本,像电话号码、超链接这样的。跟长按之后的文本选择没有关系吧。   第一种情况:如果UIWebView加载的是网页文档,可以在代码中加入js代码 [webView stringByEvaluatingJavaScriptFromString:@"document.documentElement.style.webkitUserSelect='none';"]; 第二种情况:如果UIWebView加载的是PDF文档,请参阅下贴http://www.cocoachina.com/bbs/read.php?tid ...
Content Modes: View 通过 content mode 来控制在 view 几何变化时如何 recyle view 的内容,或者 是否 recyle view 的内容。当一个 view 首次展示,view 会被抓取一个 bitmap, 之后 view 的几何变化不会总是导致 bitmap 的重建,content mode 决定 bitmap 是否 扩展到新边界或是移动到一角或一边。 在做如下操作时,会应用 content mode * 改变 frame 或 bounds 矩形的 with 或 height * 给view 的 transf ...
-(void) shake {     // "Shakes" similar to OS X login screen     CGAffineTransform moveRight = CGAffineTransformTranslate(CGAffineTransformIdentity, 20, 0);     CGAffineTransform moveLeft = CGAffineTransformTranslate(CGAffineTransformIdentity, -20, 0);         [UIView animateWithDurat ...
http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/LoadingResources/Introduction/Introduction.html   iOS中的资源种类包括:nib文件,字符串资源,图像(images),声音(Sounds),视屏(Movies),属性列表(plist).  iOS支持设备特有的资源,资源被命名为如下的格式:<basename><device><filename_extension> 这里,basename指资源的原始名字,也是我 ...
转载自:http://blog.csdn.net/theonezh/article/details/8216584   // Recursively travel down the view tree, increasing the indentation level for children - (void )dumpView:(UIView  *)aView atIndent:(int )indent into:(NSMutableString  *)outstring { for  (int  i = 0 ; i < indent; i++) [o ...
//一、 NSString     //1 、创建常量字符串。 NSString *astring = @"This is a String!"; //2 、创建空字符串,给予赋值。 NSString *astring = [[NSString alloc] init]; astring = @"This is a String!"; [astring release]; NSLog(@"astring:%@",astring); ...
转自:http://my.oschina.net/amoyai/blog/94561 在Objective-C中,message与方法的真正实现是在执行阶段绑定的,而非编译阶段。编译器会将消息发送转换成对objc_msgSend方法的调用。     objc_msgSend方法含两个必要参数:receiver、方法名 ...
Global site tag (gtag.js) - Google Analytics