Tag: exceptions预览模式: 普通 | 列表
06-11
28

<global-exceptions>全局错误信息处理

在编写程序时,通常会采用try/catch或throw来处理异常

但是如果throw的异常在最终端没有被处理,那么后台将会报错.Attribute "value" is required and must be

在struts_config.xml中里面<global-exceptions>参数来捕获全局异常

查看更多...

Tags: exceptions

分类:Struts | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 687