摘要: 第一步:定义一个类:MyHandlerErrorAttribute 继承HandleErrorAttribute 重写OnException方法 第二步 在 filterConfig中添加自定义的MyHandlerErrorAttribute 第三步,在Web.config中配置system.web 阅读全文
posted @ 2019-07-31 10:29 寻找现实的感觉 阅读(798) 评论(0) 推荐(0) 编辑