摘要: 首先写一个处理urls重写的类,并且这个类必须继承ihttpmodule接口,以博客园的程序为例: public class urlrewritemodule : system.web.ihttpmodule { public void init(httpapplication context) { context.beginrequest +=new eventhandler(context_beginrequest); } public void dispose() { } } urlrewritemodule类就是处理urls重写的类,继承ihttpmodule接口,实现该接口的两个方法 阅读全文
posted @ 2011-02-23 17:42 々蕞嗳の﹎ 阅读(2014) 评论(4) 推荐(0)