struts配置文件和国际化

时间:2023-03-09 03:59:24
struts配置文件和国际化

一、加载包struts2-core-2.3.24.1.jar

struts-default.xml :各种栈

org.apache.struts2 -->> default.properties各种属性,包括国际化,上传文件最大值

-->> struts-messages.properties上传文件错误的修改

i18n.properties

二、加载包xwork-core-2.3.24.1.jar

com.opensymphony.xwork2.validator.validators -->> default.xml:各种验证栈的设置