struts-config.xml配置3
来源:互联网 发布:caffe windows vs2015 编辑:程序博客网 时间:2024/06/10 11:48
<global-exceptions>元素
<global-exceptions>元素用来配置异常处理。<global-exception>元素可以包含零个或多个<exception>子元素。
<exception>元素用来设置java异常和处理类异常org.apache.struts.action.ExceptionHandler之间的映射。因为如果将java异常或类异常之间显示给用户,则可能让用户感到迷惑,或者一些别有用心的人可以根据这些异常来获得一些不应该让用户知道的网站设计信息。
下表为<exception>元素的属性:
实例:
<global-exceptions>
<exception
key=”global.error.invalidlogin”
path=”/security/signin.jsp”
scope=”request”
type=”netstore.framework.exception.InvalidLoginException”/>
</global-exceptions> |
- struts-config.xml配置3
- struts-config.xml 配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- Struts struts-config.xml 配置
- Struts struts-config.xml配置
- 关于struts-config.xml配置
- 关于struts-config.xml配置
- LPC2210调试
- 接吻的艺术
- struts-config.xml配置2
- 特征提取完成
- 《硬件电路原理图设计审核思路和方法》
- struts-config.xml配置3
- Asp.net2.0 中自定义过滤器对Response内容进行处理
- 深入探究JFreeChart(1)
- 学习ARM开发(14)
- 硬件设计的准则
- JFreeChart
- 学习ARM开发(15)
- 求解:算法分析 binrec (n)
- 有来有去