就是有GLOBAL.ASAX.CS里加上这么一段
 protected void Application_BeginRequest(Object sender, EventArgs e)
        {
                string rawUrl = Request.RawUrl;
                rawUrl = rawUrl.Replace("html", "aspx");
                Context.RewritePath(rawUrl);
               

        }

posted on 2007-04-12 15:13  小角色  阅读(136)  评论(0)    收藏  举报