struts2的struts.properties配置文件详解 J/2j;,8D
+nZUL*Ut/
struts.action.extension JVtQ,oZ
The URL extension to use to determine if the request is meant for a Struts action ~9GOk;{~&
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "~F3*lk#E
<5S@ORN
struts.configuration k<a;[_S
The org.apache.struts2.config.Configuration implementation class {;s;.
org.apache.struts2.config.Configuration接口名 AS)UJ/lC
,57$N&w
struts.configuration.files kb71q:[
A list of configuration files automatically loaded by Struts j^flwk
struts自动加载的一个配置文件列表 \v+u;6cx_
rQ/,XH
struts.configuration.xml.reload "#yJHsu]
Whether to reload the XML configuration or not Ko6^iI1
是否加载xml配置(true,false) NzQ9Z1Mxy
: [q0S@
struts.continuations.package 'OwyyPBF
The package containing actions that use Rife continuations MtS3p>4
含有actions的完整连续的package名称 v2Bzx/F:
dBSbu=^$ )
struts.custom.i18n.resources (hIF]>,kl
Location of additional localization properties files to load jjRUL.
加载附加的国际化属性文件(不包含.properties后缀) pY@Y?Jj
*z'8j
struts.custom.properties !Uh2}ic
Location of additional configuration properties files to load <a4TO8
加载附加的配置文件的位置 mpgO s
-(i(02PX
k|xtrW`qo;
struts.devMode 5G(3vRX|1
Whether Struts is in development mode or not +k.%PO0np
是否为struts开发模式 (a@?s$LG
rq sdE
struts.dispatcher.parametersWorkaround `:eU.
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |?d#eQ9a
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #sTEQjJ,J
fmfTSN(Q~`
struts.enable.DynamicMethodInvocation VIC0}LT0R
Allows one to disable dynamic method invocation from the URL Z&Y=`GOI
允许动态方法调用 K*q[(,9
.Da'pOe
struts.freemarker.manager.classname R x7X_A}
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7Ym(n8
org.apache.struts2.views.freemarker.FreemarkerManager接口名 oRM)%N#
?-MP_9!JK
struts.i18n.encoding *4S-z&,.c
The encoding to use for localization messages qnM|w~G
国际化信息内码 -`+<{NHv\
BecPT
struts.i18n.reload :u6JjW[a)
Whether the localization messages should automatically be reloaded PRkSQ4
是否国际化信息自动加载 (@r
`$5D.b
iCj2"T4TN
struts.locale r@U3sO#N
The default locale for the Struts application (Glr\q]jF\
默认的国际化地区信息 IvHh4DU3Z
=-KMb`xT
struts.mapper.class slu(SmQ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0*;O?T
org.apache.struts2.dispatcher.mapper.ActionMapper接口 E<E3&;qD
~j>D=!
struts.multipart.maxSize 0v)bA}k
The maximize size of a multipart request (file upload) P`$!@T0=
multipart请求信息的最大尺寸(文件上传用) JhHWu<
7 <9yH:1
struts.multipart.parser ^03j8Pc-c
The org.apache.struts2.dispatcher.multipart. 2f>PO +4S{
MultiPartRequest parser implementation for a multipart request (file upload) ~g#r6pzN-
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4dawg8K`9
#3$\Iu
K+Y^>N 4m
struts.multipart.saveDir -d+aV1n
The directory to use for storing uploaded files oVvc?P
设置存储上传文件的目录夹 h.eM
RdlO
D&G"BZx|
struts.objectFactory 2)X4y"l
The com.opensymphony.xwork2.ObjectFactory implementation class \Q~8?p+
com.opensymphony.xwork2.ObjectFactory接口(spring) Ea6
&~"
lg:
struts.objectFactory.spring.autoWire t?c}L7ht
Whether Spring should autoWire or not .zg8i_
是否自动绑定Spring \OILWQ[/
5U`ZbG
struts.objectFactory.spring.useClassCache oF]cTAqhC.
Whether Spring should use its class cache or not [AU
II*:}
是否spring应该使用自身的cache `B/0i A
uo\ .7[1
struts.objectTypeDeterminer >Dw~POMy
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class L<^j"!0
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 = ?D(g
oA] KE"T
struts.serve.static.browserCache )s_n
If static content served by the Struts filter should set browser caching header properties or not cD*}..-/4
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =GlVc cc
Ub1hHA*)
struts.serve.static %`MQmXgM
Whether the Struts filter should serve static content or not !RB)_7
是否struts过滤器应该提供静态内容 <"N_j]wD
IW=cym7
struts.tag.altSyntax {n#k,b&9B
Whether to use the alterative syntax for the tags or not K6/@]y%Wr
是否可以用替代的语法替代tags r3E!dTDWq
G!w"{Bk?9
struts.ui.templateDir /1N6X.Zb
The directory containing UI templates uvDzKMw~R
UI templates的目录夹 ; Uc0o!1
qgIb/6;xQ
struts.ui.theme "@R>J?Cc+
The default UI template theme ) J]9 lW&y
默认的UI template主题 2H71~~ c
KmG
struts.url.http.port T>TWU:
The HTTP port used by Struts URLs q6Rr.A
设置http端口 ,.iRnR
o[oM8o<
struts.url.https.port m!<i0thJ
The HTTPS port used by Struts URLs m>USD?i
设置https端口 >~%e$a7}+
+#U|skl
struts.url.includeParams &Z(K6U#.
The default includeParams method to generate Struts URLs **9x?s
在url中产生 默认的includeParams F+R?a+e
^;!0j9"*:
$mf
u:tbP
struts.velocity.configfile -;f*VM.a
The Velocity configuration file path FZjHw_pP
velocity配置文件路径 lC:k7<0Ji
[Wd-Zn%
struts.velocity.contexts ]Chj T}
List of Velocity context names `&\Q +W
velocity的context列表 X%z }VA
+$4(zPs@
L,y6^J!
struts.velocity.manager.classname 8n1'x;
org.apache.struts2.views.velocity.VelocityManager implementation class D\IjyZ-O
org.apache.struts2.views.velocity.VelocityManager接口名 SJD@&m%?[
9T#;,{VQ
struts.velocity.toolboxlocation P96pm6H_;
The location of the Velocity toolbox _zlqtO
velocity工具盒的位置 zvABU+{jD
struts.xslt.nocache BA\/YW @
Whether or not XSLT templates should not be cached `:N# 'i
是否XSLT模版应该被缓存 l/;X?g5+