### These can be used to set the default HTTP and HTTPS ports struts.url.http.port = 80 #webwork.url.https.port = 443
### This can be used to set your locale and encoding scheme struts.custom.i18n.resources=ApplicationResources struts.locale=zh_CN struts.i18n.encoding=utf-8
# uses javax.servlet.context.tempdir by default struts.multipart.parser=com.opensymphony.webwork.dispatcher.multipart.PellMultiPartRequest #struts.multipart.saveDir=tmp struts.multipart.saveDir=/tmp struts.multipart.maxSize=512000000 struts.configuration.xml.reload=true
struts.objectFactory = spring struts.xml 就是配置action了,由于设定了struts.objectFactory = spring,因此struts2会自动将action转为spring的bean,struts.xml可以直接配置我们的action路径,在action中我们只需要设置某个service文件的set方法即可调用事务管理bean。