对于asp下我们如果获得当前程序的文件名,就可以利用下面的代码获得,是不是很简单呢Dim curUrl:curUrl = Replace(Request.ServerVariables(Script_Name),/,)