摘要:
方式一:使用web.config配置 [HandleError]public class MvcHandleController : Controller { public ActionResult Index() { return View(); } }web.config配置如下<customErrors mode="On" defaultRedirect="~/Account/Error"> <error statusCode="403" redirect="~/404.html"/> 阅读全文
posted @ 2011-05-03 19:28
天平盛世
阅读(1217)
评论(0)
推荐(1)

浙公网安备 33010602011771号