@ExceptionHandler方式
1.Exception类
.
2.控制层
3.页面层
4.userName和userAge.jsp页面
xml配置方式
controller类
俩个Exception类
xml配置
jsp页面