摘要:
1.在spring mvc下实现统一异常处理很方便,只要在web.xml中配置异常时要显示的页面即可,如下:[html] view plaincopyprint?<error-page><exception-type>java.lang.Exception</exception-type><location>/html/500.htm</location></error-page><error-page><error-code>404</error-code><location&g 阅读全文