---
title: "apache出事啦   tfy      struts2的错误处理机制的缺点："
author: "cloudtech"
date: "2013-03-05T23:28:00Z"
tags: []
slug: "apache-tfy-struts2"
draft: false
lastmod: "2013-03-06T12:49:58Z"
id: 1823749
url: "https://cloudtech.iteye.com/blog/1823749"
---

struts2的错误处理机制的缺点：  
\* 如果要在action中的方法进行错误处理，有多少方法写多少try catch  
\* 如果在action中抛出异常，程序员是不能干预异常的处理的