- 博客(16)
- 资源 (26)
- 收藏
- 关注
原创 Struts2:jsp前台传值到action后台的三种方式
1.在Action类中定义表单属性,两者属性名称必须一致。提供setter,getter方法。即可接收到表单传过来的参数.JSP中: Action中:public class ParamsAction extends ActionSupport { private String userName; private String user
2013-03-28 15:12:54 1460
转载 对TCP状态转换的理解
LISTEN: 这个也是非常容易理解的一个状态,表示服务器端的某个SOCKET处于监听状态,可以接受连接了。 SYN_RCVD: 这个状态表示接收到了SYN报文,在正常情况下,这个状态是服务器端的SOCKET在建立TCP连接时的三次握手会话过程中的一个中间状态,很短暂,基本上用netstat你是很难看到这种状态的,除非你特意写了一个客户端测试程序,故意将三次TCP握手过程中最后一个ACK
2013-03-26 13:56:29 606
转载 java的几种对象(PO,VO,DAO,BO,POJO)解释
一、PO : persistant object 持久对象,可以看成是与数据库中的表相映射的java对象。最简单的PO就是对应数据库中某个表中的一条记录,多个记录可以用PO的集合。PO中应该不包含任何对数据库的操作。二、VO : value object值对象。通常用于业务层之间的数据传递,和PO一样也是仅仅包含数据而已。但应是抽象出的业务对象,可以和表对应,也可以不,这根据业务的需要
2013-03-26 12:49:45 656
转载 Android SQLite 数据库
SQLite 介绍SQLite 一个非常流行的嵌入式数据库,它支持 SQL 语言,并且只利用很少的内存就有很好的性能。此外它还是开源的,任何人都可以使用它。许多开源项目((Mozilla, PHP, Python)都使用了 SQLite.SQLite 由以下几个组件组成:SQL 编译器、内核、后端以及附件。SQLite 通过利用虚拟机和虚拟数据库引擎(VDBE),使调试、修改和扩展
2013-03-23 16:22:29 660
转载 详解UML中的6大关系(关联、依赖、聚合、组合、泛化、实现)
转自:http://www.yongfa365.com/Item/UML-Association-Dependency-Aggregation-Composition-Realization-Generalization.html 大话设计模式上的一个图,我用EA画出来的: UML中的6大关系相关英文及音标: 依赖关系 dependency
2013-03-22 16:11:16 1685 1
转载 java Object类源代码详解
http://blog.csdn.net/a379039233/article/details/6097647类 Object 是类层次结构的根类。每个类都使用 Object 作为超类(都直接或间接继承此类)。所有对象(包括数组)都实现这个类的所有方法。来看一下object的源码吧 Java代码 package java.lang;
2013-03-20 20:13:53 837
原创 申请google map 的android key(新的申请方式)
最近google map v2版的key 改变了申请方式,原来的申请页面改了,原来是https://developers.google.com/maps/signup?hl=zh-CN 这个链接现在v2版的key,需要在 https://code.google.com/apis/console 这个地址申请1.使用Google帐号登入APIs Console (http
2013-03-20 15:42:57 1367
原创 Android模拟器上网设置
第一步:从cmd进入Android SDK目录下的platform-tools文件下第二步:运行adb.exe shell命令,出来#符号后输入getprop命令,就可以查看系统当前的各项属性第三步:修改dns值为自己电脑上的默认网关(ipconfig -all查看):setprop net.dns1 10.0.6.1 (这个是我的默认网关)
2013-03-20 14:29:37 941
转载 SharedPreferences解析和实现记住用户名
转自:http://rd.189works.com/article-108392-1.htmlSharedPreferences是Android平台上一个轻量级的存储类,主要是保存一些常用的配置比如窗口状态,它提供了Android平台常规的Long长整形、Int整形、String字符串型的保存。SharedPreferences不支持多线程。例如,可以通过它保存上一次用户所做的修改
2013-03-18 18:35:55 663
转载 android解析XML总结(SAX、Pull、Dom三种方式)
在android开发中,经常用到去解析xml文件,常见的解析xml的方式有一下三种:SAX、Pull、Dom解析方式。最近做了一个android版的CSDN阅读器,用到了其中的两种(sax,pull),今天对android解析xml的这三种方式进行一次总结。 今天解析的xml示例(channels.xml)如下:xml version="1.0" encoding="utf
2013-03-18 18:34:18 729
转载 java I/O流之字符流
转自:http://blog.csdn.net/zhuruoyun/article/details/8174510I :input,输入 ,O:output,输出 。I/O处理技术是Java语言中实现文件操作、内存操作、控制台输入以及网络编程的基础。IO类java.io为了使输入和输出的结构保持统一,从而方便程序员使用IO相关的类,在Java语言的IO类设计中引入了
2013-03-16 16:05:33 595
转载 javaIO流总结
IO流流(Stream)的概念:程序与数据来源之间的桥梁“=============copy自网络========================理解流的概念流是字节序列的抽象概念,用于数据传输的字节序列都可以理解为流,流提供了一种用同一的方式从各种输入输出设备中读取和向其中写入字节数据的方法。文件流流和文件的差异:文件是数据的静态存储形式,而流是指数据传输
2013-03-16 14:48:07 686
转载 Android Google Map API 开发基础知识
http://www.cnblogs.com/playing/archive/2011/04/23/2025419.htmlhttp://tech.it168.com/a2011/0218/1158/000001158627_all.shtmlhttp://tech.it168.com/a2012/0308/1322/000001322333_all.shtml
2013-03-11 13:35:32 746
转载 android定时器的用法总结
在android中,經常用到的定時器主要有以下幾種實現:一、採用Handler與線程的sleep(long )方法二、採用Handler的postDelayed(Runnable, long) 方法三、採用Handler與timer及TimerTask結合的方法。下面逐一介紹:一、採用Handle與線程的sleep(long )方法Handler主要用來處理接受到的消息。這
2013-03-06 21:53:04 1852
转载 Android APK反编译详解(附图)
这段时间在学Android应用开发,在想既然是用Java开发的应该很好反编译从而得到源代码吧,google了一下,确实很简单,以下是我的实践过程。在此郑重声明,贴出来的目的不是为了去破解人家的软件,完全是一种学习的态度,不过好像通过这种方式也可以去汉化一些外国软件。本文Android反编译教程,测试环境:Win7 Ultimate x64Ubun
2013-03-06 11:01:52 573
原创 Ubuntu12.04下Android开发环境搭建图文教程
1.安装JDK1.1下载JDK目前最新的JDK版本是:Java SE Development Kit 7u5下载地址:http://download.oracle.com/otn-pub/java/jdk/7u5-b06/jdk-7u5-linux-i586.tar.gz查看最新:http://www.oracle.com/technetwork/java/ja
2013-03-06 01:49:46 1135
Supervised Descent Method and its Applications to Face Alignment
2014-01-14
一个简单的IOCP(IO完成端口)服务器客户端
2014-01-14
SIFTflow.pdf
2013-12-29
Power Mean SVM for Large Scale Visual Classification
2013-12-29
Color_descriptors
2013-12-29
learning the bash shell
2009-10-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人