web.config 自定义错误页面

 asp.net自定义错误页面,用一个页面来显示错误而非.net报错页面: <system.web> <customErrors mode="On" defaultRedirect="Error/Error.htm"> <error statusCode="404" redirect="Error/404.htm" /> </customErrors> <system.web> 说明: 建立对应的
相关文章
相关标签/搜索