asp.net出错或404错误(找不到页面)自动跳转 webconfig配置方法

<customErrors mode="On" defaultRedirect="error.html">
              <error statusCode="403" redirect="error.html" />
              <error statusCode="404" redirect="404.htm" />
            </customErrors>

posted on 2009-04-09 08:37  八度空间  阅读(1177)  评论(0)    收藏  举报

导航