1.概念Cache-control用于控制HTTP缓存(在HTTP/1.0中可能部分没实现,仅仅实现了Pragma:
no-cache)数据包中的格式:Cache-Control:cache-directivecache-directive可以为以下:request时用到:|
"no-cache"|...
分类:
其他好文 时间:
2014-05-12 16:25:03
阅读次数:
245
GridView 一种是直接用simpleAdapt,另一种是自己写一个myAdapt
继承baseAdapt.这里是第二个例子。http://fonter.iteye.com/blog/781403package
com.grid.test;import java.util.ArrayList;i...
分类:
其他好文 时间:
2014-05-05 23:56:59
阅读次数:
357
第八章 用户界面(二)
在 WinForm 上使用控件
控件就是类,派生自 System.Windows.Forms.Control,由此类派生出的任何类都能显示在窗体上,只要将它添加到窗体对象的 Controls 集合中。
现在我们看一下用控件画树形的方法。WinForms 库定义了 TreeView 类,这是专门用于显示树形结构的;自然,我们就用这个控件来显示树。使...
分类:
其他好文 时间:
2014-05-04 00:08:55
阅读次数:
322
ping是基于ICMP(Internet Control Message Protocol)协议实现的,而ICMP协议是在IP层实现的。
ping实际上是发起者发送一个Echo Request(type = 8)的,远程主机回应一个Echo Reply(type = 0)的过程。
为什么用ping不能测试某一个端口
刚开始接触网络的时候,可能很多人都有疑问,怎么用ping来测试远程主机的某个...
分类:
其他好文 时间:
2014-05-04 00:04:34
阅读次数:
381
原因:在测试机上首次安装oracle11G
RAC,安装完成后正常使用,过了一段时间后重启节点1测试是否可以自启动,解决节点1没有自启动,手工启动也无法启动过程:在节点一上运行:#
pwd/u01/grid/bin# ./crsctl start crsCRS-4124: Oracle High A...
分类:
数据库 时间:
2014-05-03 23:29:37
阅读次数:
905
Playback control of audio/video files and streams is managed as a state machine. The following diagram shows the life cycle and the states of a MediaPlayer object driven by the supported playback cont...
分类:
移动开发 时间:
2014-05-03 21:36:21
阅读次数:
568
添加Expires和Cache-control头部
Expire和Cache-control实际上是HTTP中的缓存控制头部,它主要影响客户端的请求行为和服务器端的响应。
一.缓存的基本概念
这里的缓存,单指web的缓存。当web请求抵达缓存时,如果本地有缓存的副本且缓存未过期,那么就可以从本地读取数据或文档,这样便可以:
1. 减少冗余的数据传输,一定程度上减少服务器的流量...
分类:
Web程序 时间:
2014-05-03 15:51:40
阅读次数:
380
Sudoku
Time Limit: 10000MS
Memory Limit: 65536K
Total Submissions: 4203
Accepted: 2051
Description
A Sudoku grid is a 16x16 grid of cells grouped in sixteen 4x4 squares...
分类:
其他好文 时间:
2014-05-02 23:15:40
阅读次数:
605
Where's Waldorf?
Given a m by n grid
of letters, ( ),
and a list of words, find the location in the grid at which the word can be found. A word matches a straight, uninterrupted line o...
分类:
其他好文 时间:
2014-05-02 10:59:15
阅读次数:
514
搜索了蛮久,找到一些例子,因为我是初学者的缘故大多不知道怎么使用。。
研究了一下那个源码,搞到现在终于实现了基本的下载。。解决了一个表格不能重复下载的小BUG,一个使用grid初始化发生的BUG
下面记录一下步骤。。说不定下次还有用
1.下载需要用到js代码,我已经上传
http://download.csdn.net/detail/hu8471479/72...
分类:
Web程序 时间:
2014-05-02 05:23:25
阅读次数:
393