struts2的struts.properties配置文件详解 jJc:%h$|2
J'4Pp<
struts.action.extension +J[<zxh\
The URL extension to use to determine if the request is meant for a Struts action *ETSx{)8
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {^(h*zxn
N=%4V
struts.configuration GP<PU
The org.apache.struts2.config.Configuration implementation class [C@|qAh
org.apache.struts2.config.Configuration接口名 cCa+UTxaJ
Z8 eB5!$
struts.configuration.files xfegi$
A list of configuration files automatically loaded by Struts Y-YlQ^
struts自动加载的一个配置文件列表 ,#?iu?i/
|k,M$@5s
struts.configuration.xml.reload 7H=V|Btnc
Whether to reload the XML configuration or not C6` Tck!
是否加载xml配置(true,false) XSOSy2:
q#C;iK4
struts.continuations.package )wqG^yv
The package containing actions that use Rife continuations ^GL>xlZ(
含有actions的完整连续的package名称 <ddXvUCX
+YD_ L
struts.custom.i18n.resources 1buVV]*~
Location of additional localization properties files to load "Sb<"$:
加载附加的国际化属性文件(不包含.properties后缀) i0q<,VSl$_
U,Q
struts.custom.properties K&'Vd@
Location of additional configuration properties files to load u,~/oTgO
加载附加的配置文件的位置 z ?L]5m`H
W6^YFN
pE4yx5r5
struts.devMode $ VTk0J-W
Whether Struts is in development mode or not r}nz )=\Cj
是否为struts开发模式 'f_[(o+n
WzhY4"p
struts.dispatcher.parametersWorkaround Bcl6n@{2f
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]iezwz`'
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) vX;~m7+
IRG -H!FV
struts.enable.DynamicMethodInvocation .dPy<6E
Allows one to disable dynamic method invocation from the URL +wIv|zj9
允许动态方法调用 2 Q}^<^r
h?7@]&VJ
struts.freemarker.manager.classname 1ir~WFP
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3]rd!Gp=*
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ;%^T*?t
/LC!|-1E
struts.i18n.encoding 0zc~!r~
The encoding to use for localization messages ;d<RPVE:
国际化信息内码 3[Z7bhpV
6Eu"T9(
struts.i18n.reload Q@ghQGn#
Whether the localization messages should automatically be reloaded WH l vd
是否国际化信息自动加载 dV7~C@k6k8
M
_e^KF
struts.locale _FxQl]@
The default locale for the Struts application @+&QNI06S
默认的国际化地区信息 Jty/gjK+
dOFK;
struts.mapper.class ~]78R!HJ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class m\eYm;RVj
org.apache.struts2.dispatcher.mapper.ActionMapper接口 q[5&
Bhf4 /$
struts.multipart.maxSize $.KDnl^
The maximize size of a multipart request (file upload) ~#PC(g
multipart请求信息的最大尺寸(文件上传用) a&C}'e"
8m*uT< 5D
struts.multipart.parser 8)V6yKGO
The org.apache.struts2.dispatcher.multipart. [DSD[[
z[
MultiPartRequest parser implementation for a multipart request (file upload) VWT\wAL
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &Ef_p-e-P
/2Qgg`^)
kpx2e2C|
struts.multipart.saveDir o l8|
The directory to use for storing uploaded files dU.H9\p
设置存储上传文件的目录夹 56!/E5qgW
fBZR
struts.objectFactory ]:n! \G
The com.opensymphony.xwork2.ObjectFactory implementation class k*k 9hv?
com.opensymphony.xwork2.ObjectFactory接口(spring) V)3S.*]
%dDwus
struts.objectFactory.spring.autoWire $zD}hO9
Whether Spring should autoWire or not ]}A3Pm- t*
是否自动绑定Spring DcX,o*ec!
_28vf Bl?
struts.objectFactory.spring.useClassCache -Ou@T#h"
Whether Spring should use its class cache or not uS&NRf9A
是否spring应该使用自身的cache 1zWEK]2.R
I7} o>{
struts.objectTypeDeterminer @DniYt /
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class rF)[ Sed:T
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 99u9L)
xyPz_9
struts.serve.static.browserCache E;Q
,{{#
If static content served by the Struts filter should set browser caching header properties or not /8"9sf*
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 G;yh$n<"
+Q!
struts.serve.static f,WAl\
Whether the Struts filter should serve static content or not k \V6q9*
是否struts过滤器应该提供静态内容 ylPDM7Ka
g4NbzU[I
struts.tag.altSyntax 3%DDN\q\u
Whether to use the alterative syntax for the tags or not 25m!Bf
是否可以用替代的语法替代tags .vk|aIG
kzXmiBL<9
struts.ui.templateDir "?(N
The directory containing UI templates -Gn0TA2/C
UI templates的目录夹 ~E*`+kD
~CQTPR
struts.ui.theme ~|. vz!A
The default UI template theme _NkbB"+L
默认的UI template主题 jw$[b=sa
a534@U4,
struts.url.http.port 7<7
/NZ<I
The HTTP port used by Struts URLs 3+d_5l;m)
设置http端口 <