struts2的struts.properties配置文件详解 HS XS%v/Y
f uQbDb&
struts.action.extension <`k\kZM
The URL extension to use to determine if the request is meant for a Struts action 26PUO$&b.
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 |t+M/C0y/
fuSfBtLPR#
struts.configuration ZQXv-"
The org.apache.struts2.config.Configuration implementation class ,A`d!{]5
org.apache.struts2.config.Configuration接口名 S-}MS"
u\wdb^8ds
struts.configuration.files >J[Bf9)>
A list of configuration files automatically loaded by Struts k"D6Vyy`
struts自动加载的一个配置文件列表 D9,609w
BZejqDr*
struts.configuration.xml.reload +KgoL a
Whether to reload the XML configuration or not Gdmh#pv
是否加载xml配置(true,false) &[:MTK?x!
BZq_om6
struts.continuations.package d~F`q7F'?]
The package containing actions that use Rife continuations =M'M/vKD
含有actions的完整连续的package名称 J ^gtSn^
z%$ E6Im
struts.custom.i18n.resources EBlfwFd
Location of additional localization properties files to load yTzP{I
加载附加的国际化属性文件(不包含.properties后缀) <6QG7i
E
.^5N~.
struts.custom.properties Mx{VN
P
Location of additional configuration properties files to load cKuU#&FaV
加载附加的配置文件的位置 =sy>_
OLh`R]Sd
Ck;O59A"&-
struts.devMode ]T|9>o!
Whether Struts is in development mode or not _nu,ks+
是否为struts开发模式 WeDeD\zy
^,u0kMG5l
struts.dispatcher.parametersWorkaround L08>9tf`
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ,K9\;{C
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) u>c\J|K_V
XndGe=O
struts.enable.DynamicMethodInvocation Rs_0xh
Allows one to disable dynamic method invocation from the URL +v4P9V|s
允许动态方法调用 6BM[RL?T
<X[TjP
struts.freemarker.manager.classname u.;zz'|
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class _svEPHU
org.apache.struts2.views.freemarker.FreemarkerManager接口名 :VwU2
}
8ZCWmd
struts.i18n.encoding [-o`^;
The encoding to use for localization messages !`5[(lm
国际化信息内码 VD[x}8ei
q-s! hiK
struts.i18n.reload 0#(K}9T)
Whether the localization messages should automatically be reloaded &y`
MDyXz
是否国际化信息自动加载 XMhDx
1'ne[@i^/
struts.locale i`[5%6\"&
The default locale for the Struts application p@epl|IZp
默认的国际化地区信息 bwh7.lDAl
\#4??@+Xf
struts.mapper.class )|;*[S4
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Z(Da?6#1
org.apache.struts2.dispatcher.mapper.ActionMapper接口 /H#- \r&r
lfjY45=
struts.multipart.maxSize YnnpgR.
The maximize size of a multipart request (file upload) bqugo
multipart请求信息的最大尺寸(文件上传用) D'V0b"
R=M"g|U6
struts.multipart.parser 2p\CCzw
The org.apache.struts2.dispatcher.multipart. DLMG<4Cd~
MultiPartRequest parser implementation for a multipart request (file upload) ,#3}TDC
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) p7(Pymkd
8r
'
(]7*Kq
struts.multipart.saveDir mv@cGdxu
The directory to use for storing uploaded files dz/'
m7
设置存储上传文件的目录夹 CU=}]Y
\)'nxFKqV
struts.objectFactory "|W .o=R
The com.opensymphony.xwork2.ObjectFactory implementation class mhnjYK9
com.opensymphony.xwork2.ObjectFactory接口(spring) J6x\_]1:*
$ tf;\R
struts.objectFactory.spring.autoWire :V2"<]
Whether Spring should autoWire or not ,4y'(DA
是否自动绑定Spring F-}-/N]o
q
YwGc[9=n
struts.objectFactory.spring.useClassCache Hj
]$
Whether Spring should use its class cache or not j0J}d _
是否spring应该使用自身的cache G yZYP\'S+
s
vn[c*
struts.objectTypeDeterminer A.7:.5Cx'
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <4jQbY;
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 D|I(2%aC
&d`T~fl|
struts.serve.static.browserCache cT{iMgdI?
If static content served by the Struts filter should set browser caching header properties or not &SS"A*xg
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 k5G(7Ug=g~
[+$l/dag
struts.serve.static J5L P#o(V
Whether the Struts filter should serve static content or not H3{x;{.b
是否struts过滤器应该提供静态内容 7}bjJR "
$;un$ko6%
struts.tag.altSyntax 7SzY0})<U
Whether to use the alterative syntax for the tags or not &_FNDJ>MCk
是否可以用替代的语法替代tags ,oe
e'
J*6I@_{/U
struts.ui.templateDir 5A 1oZ+C#
The directory containing UI templates FD(zj ^*
UI templates的目录夹 Pg[zRRf<
I Vy,A7f
struts.ui.theme []Cvma1\
The default UI template theme oTtmn,
T
默认的UI template主题 Qu]0BVIe
Pb?H cg
struts.url.http.port &QE^i%6>\
The HTTP port used by Struts URLs ^vm[`M
设置http端口 Y0BvN`E
,4j$kR
struts.url.https.port Wq)'0U;{$
The HTTPS port used by Struts URLs tYIHsm\b
设置https端口 _yjM_ALjo
$n `Zvl2
struts.url.includeParams X@ +:O-$
The default includeParams method to generate Struts URLs QxnP+U~N
在url中产生 默认的includeParams Ary$,3X2
d;S:<]l'
D{o1G?A
struts.velocity.configfile hgj#VY$B
The Velocity configuration file path Y=X"YH|
velocity配置文件路径 y- k?_$M
|PH]0.m5
struts.velocity.contexts ,2JqX>On>Y
List of Velocity context names + WPi}
velocity的context列表 ==x3|^0y
2`5(XpYe
9?D7"P+
struts.velocity.manager.classname 7 g ]]>
org.apache.struts2.views.velocity.VelocityManager implementation class :&yRvu
org.apache.struts2.views.velocity.VelocityManager接口名 %fP^Fh
uW>AH@Pij
struts.velocity.toolboxlocation /p\Ymq
The location of the Velocity toolbox PkDL\Nqe
velocity工具盒的位置 hD<z^j+
struts.xslt.nocache ]&/jvA=\l,
Whether or not XSLT templates should not be cached ]p'Qk
是否XSLT模版应该被缓存 *(?YgV