http://hi.baidu.com/xogjghsfhjemorr/item/5aab56f5f2f220ed1b111f5c
将Struts的Action方法中抛出的Exception信息显示在页面上的方法
1、定义一个ExceptionHandlerApp类,继承org.apache.struts.action.ExceptionHandler;
2、在ExceptionHandlerApp类中的execute方法中,将错误的Message写入attribute,并且处
转载
2013-08-26 11:41:22 ·
1343 阅读 ·
0 评论