javax.servlet
Interface Filter
public interface Filter
A filter is an object that performs filtering tasks on either the request to a resource (a servlet or static content), or on the respon...
分类:
其他好文 时间:
2014-09-27 19:23:40
阅读次数:
256
HttpHelper 请从网络中搜索; public partial class LoginTMall : Form { public LoginTMall() { InitializeComponent(); } private void btnLogin_Click(object se...
分类:
其他好文 时间:
2014-09-27 18:02:10
阅读次数:
378
虽然做iOS开发也有一段时间,但一直疲于赶项目,并未仔细研究OC,难得今日比较闲又拿起OC资料研读一番,发现效果很好,不过也感慨技术更新实在过快,发现之前的资料已经和现行技术有些出入。 ? ? ?在某...
分类:
其他好文 时间:
2014-09-27 14:32:20
阅读次数:
138
List demo(object a){ List res = new List(); object c = a; Type d = a.GetType(); if (d is IList && d.IsGenericType) { IList list = (IList)c; ...
分类:
其他好文 时间:
2014-09-27 13:46:49
阅读次数:
214
关于sql 分组统计查询,我们在做报表的时候经常需要用到;今天就在这里整理下;先附上一段sql代码:if object_id(N'#mytb',N'U') is not null drop table #mytbgodeclare @Year intset @Year=2014create tabl...
分类:
数据库 时间:
2014-09-27 13:43:29
阅读次数:
390
1、首先介绍write()和print()方法的区别:(1)、write():仅支持输出字符类型数据,字符、字符数组、字符串等(2)、print():可以将各种类型(包括Object)的数据通过默认编码转换成bytes字节形式,这些字节都通过write(int c)方法被输出2、介绍response...
分类:
其他好文 时间:
2014-09-27 03:42:39
阅读次数:
211
select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT'declare @spid i...
分类:
数据库 时间:
2014-09-27 02:35:48
阅读次数:
203
//获取url参数
???function?getRequest()?{
????????var?url?=?location.search;?//获取url中"?"符后的字串
var?theRequest?=?new?Object();
????????if?(url.indexOf("?")...
分类:
Web程序 时间:
2014-09-27 00:58:19
阅读次数:
363
需要使用到以下这几个c#内置的命名空间。
using System.Xml;
using System.IO;
using System.Xml.Serialization;
序列化并存储xml文件
XmlTextWriter xWrite = new XmlTextWriter(filename, null);
XmlSe...
分类:
其他好文 时间:
2014-09-27 00:55:49
阅读次数:
507
这一章,有点抽象,看着有点蛋疼!大笑
双下划线__future__或单下划线有特殊含义,在Python中,这些名字的集合称为魔法方法:最重要的是__init__和一些处理访问对象的方法,这些方法允许你创建自己的序列或者是映射.
------
准备工作:
将__metaclass__=type放在模块的最开始位置,以确保类时最新式的。考虑下面两个类
class NewStyle(object):
more_code_here
class OldStyle:
more_code_here
如果...
分类:
编程语言 时间:
2014-09-27 00:02:58
阅读次数:
460