struts2的struts.properties配置文件详解 Y.NE^Vn0
$it@>L8
struts.action.extension rI>LjHP
The URL extension to use to determine if the request is meant for a Struts action *7Xzht&f
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 W+\?~L.
O@wK[(w^
struts.configuration <aXoB*Y
The org.apache.struts2.config.Configuration implementation class nE$
f
org.apache.struts2.config.Configuration接口名 V'I T1~
o,*=$/or
struts.configuration.files WL1\y|
A list of configuration files automatically loaded by Struts 5{X*a
struts自动加载的一个配置文件列表 L#2ZMy
!D;c,{Oz
struts.configuration.xml.reload <h@]Ri
Whether to reload the XML configuration or not :BD>yOlG
是否加载xml配置(true,false) tF%QH[
~)?|J
struts.continuations.package 7]Rk+q2:
The package containing actions that use Rife continuations ;{gT=,KQ`
含有actions的完整连续的package名称 x[x(y{&~
WqQU@sA
struts.custom.i18n.resources 0X>T+A[E
Location of additional localization properties files to load jkt6/H
加载附加的国际化属性文件(不包含.properties后缀) hl]S'yr
pV=@sz,G
struts.custom.properties `*k@4.J{
Location of additional configuration properties files to load Mq'IkSt'
加载附加的配置文件的位置 *HeVACxo
kP^*hO!%
q:]Q% IC^
struts.devMode m#n]Wgp'
Whether Struts is in development mode or not p9iu:MucD<
是否为struts开发模式 QNpuTZn#Q
d.AC%&W
struts.dispatcher.parametersWorkaround aq$q
~,E
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic NzlAC
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) v2>Z^
:tbd,Uo
struts.enable.DynamicMethodInvocation 6 64q~_@B1
Allows one to disable dynamic method invocation from the URL nNQ-"t
允许动态方法调用 m9t$h
Z&Pu8zG
/m
struts.freemarker.manager.classname JDlBVZ!
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class QN g\4%
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ^Xs]C|=W
%b?uW]j:
struts.i18n.encoding MI*Sq\-i
The encoding to use for localization messages x0<^<D &Q
国际化信息内码 X 8R1a?
&S-er{]]
struts.i18n.reload 'RLOV
Whether the localization messages should automatically be reloaded W.[BPR
是否国际化信息自动加载 B}\BeFt'
E1(1E?}!
struts.locale 7 :U8 f:
The default locale for the Struts application X<euD9?
默认的国际化地区信息 X"<|Z]w
WcEt%mGQ,
struts.mapper.class ,g|2NjUAc
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Uk'U?9O
org.apache.struts2.dispatcher.mapper.ActionMapper接口 a+
GJVJ
iLtc
HpN
struts.multipart.maxSize (p,}'I#i*
The maximize size of a multipart request (file upload) nzuF]vo
multipart请求信息的最大尺寸(文件上传用) #PFO]j!_b
7I
>J$"
struts.multipart.parser (0C&z/
The org.apache.struts2.dispatcher.multipart. UA(;fZ@
MultiPartRequest parser implementation for a multipart request (file upload) bEI!Ja
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 6fGK(r
9)lZyE}
zP nC=h|g
struts.multipart.saveDir kUbnVF5'
The directory to use for storing uploaded files vgThK9{m;
设置存储上传文件的目录夹 9@y3IiZ"}
'5rUe\k
struts.objectFactory ,8##OB(
The com.opensymphony.xwork2.ObjectFactory implementation class sfI N)jh
com.opensymphony.xwork2.ObjectFactory接口(spring) Ac\W\=QvB
~L'nzquF
struts.objectFactory.spring.autoWire $E.XOpl&I
Whether Spring should autoWire or not ?\Q0kr.T%
是否自动绑定Spring [ {cC
E474l
struts.objectFactory.spring.useClassCache vGN3 YcH
Whether Spring should use its class cache or not (oYW]c}G,
是否spring应该使用自身的cache l &Z(K,6
%),!2_ x~
struts.objectTypeDeterminer 7>,rvW:]
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ny1 \4C
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Kz[BB@[
o,
LK[Q
struts.serve.static.browserCache >FF1)~
If static content served by the Struts filter should set browser caching header properties or not mHs:t{q
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Pz`hX$
Kv?;cu!
struts.serve.static 6mHhC?
Whether the Struts filter should serve static content or not ym%o}(v-
是否struts过滤器应该提供静态内容 D9o*8h2$
bU+9Gi@v
struts.tag.altSyntax dtTlIhh1V
Whether to use the alterative syntax for the tags or not JIV8q HC
是否可以用替代的语法替代tags * nCx[
, N
344y
struts.ui.templateDir q[c Etp28h
The directory containing UI templates {D,RU8&
UI templates的目录夹 5;Ia$lm=y
";dU-\3M
struts.ui.theme @vAFfYU9<.
The default UI template theme 7\%$>< K
默认的UI template主题 C3.=GRg~l
}n[Bq#
struts.url.http.port a))*F!}c
The HTTP port used by Struts URLs 5i9Ub|!P
设置http端口 6"%2,`Nu
2.qpt'p[
struts.url.https.port SqqDV)Uih1
The HTTPS port used by Struts URLs m6MaX}&zv
设置https端口 -*3(a E
c&e0OV\m
struts.url.includeParams f_'"KF[%
The default includeParams method to generate Struts URLs \ V?I+Gc
在url中产生 默认的includeParams qZbHMTnT6
OjATSmZ@@
J6auUm` `
struts.velocity.configfile a_%>CD${t
The Velocity configuration file path MYx88y
velocity配置文件路径 b1)\Zi
[*HiI=
struts.velocity.contexts OG}KqG!n
List of Velocity context names f?-J#x)
velocity的context列表 !NA`g7'
^A#x<J+
pVz*ZQ[]
struts.velocity.manager.classname 3#mE(
`|P
org.apache.struts2.views.velocity.VelocityManager implementation class C P&o%Uc*
org.apache.struts2.views.velocity.VelocityManager接口名 m1y `v"
'!@A}&]
struts.velocity.toolboxlocation Pz1G<eh#{g
The location of the Velocity toolbox PUKVn+h
velocity工具盒的位置 r=\P!`{5
struts.xslt.nocache zq=&4afOE
Whether or not XSLT templates should not be cached +7Rt{C,
是否XSLT模版应该被缓存 -XW8 LaQB