struts2的struts.properties配置文件详解 6MewQ{h i
:i{Svb*_'
struts.action.extension E{LLxGAEZ
The URL extension to use to determine if the request is meant for a Struts action oFO)28Btv
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n!Dr:$
\wJ2>Q
struts.configuration iMT[sb
The org.apache.struts2.config.Configuration implementation class &dH[lB
org.apache.struts2.config.Configuration接口名 5Kadh2nz
& bKl(,
struts.configuration.files $;4y2?E
A list of configuration files automatically loaded by Struts 9<e%('@[
struts自动加载的一个配置文件列表 )S:,q3gxJ
eD(;Wn
struts.configuration.xml.reload 1g{-DIOmn
Whether to reload the XML configuration or not Nld y76|g
是否加载xml配置(true,false) u<g0oEs)
r<%ua6@
struts.continuations.package b7^Db6qu
The package containing actions that use Rife continuations $dxk;V
含有actions的完整连续的package名称 >/]`
f8^
$wr B5m?
struts.custom.i18n.resources 2`|gnVw
Location of additional localization properties files to load H%nA"-
加载附加的国际化属性文件(不包含.properties后缀) D]?eRO9'
f3>L/9[[<P
struts.custom.properties y;\m1o2
Location of additional configuration properties files to load 1BjMVMH
加载附加的配置文件的位置 tj'xjX
VRb+-T7"
J1s~w`,
struts.devMode EbfE/_I
Whether Struts is in development mode or not 1*aO2dOq
是否为struts开发模式 B~CdY}UTsj
& t.G4
struts.dispatcher.parametersWorkaround \80W?9qj
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic r_x|2 AoO
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~E8L,h~
#JAy
struts.enable.DynamicMethodInvocation eP?=tUB!S
Allows one to disable dynamic method invocation from the URL ir{li?kV
允许动态方法调用 5LF &C0v
bQvhBa?
struts.freemarker.manager.classname D<QE?:#
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <dD)>Y.
org.apache.struts2.views.freemarker.FreemarkerManager接口名 r6b;v2!8
cXd?48O
struts.i18n.encoding FxFRrRRH@
The encoding to use for localization messages up@I,9C/
国际化信息内码 }fV+Kd$CB
FwjmC%iY
struts.i18n.reload !RXG{1:
Whether the localization messages should automatically be reloaded %w3Y!7+
是否国际化信息自动加载 >p`ZcFNs"
vG{lxPIj
struts.locale d:L|BkQ7*
The default locale for the Struts application 6CV9ewr
默认的国际化地区信息 m]?C @ina
$(r/N"6)O2
struts.mapper.class V0/PjD,jP
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class T2dv!}7p
org.apache.struts2.dispatcher.mapper.ActionMapper接口 QVR8b3T@
<2V:tj)?P
struts.multipart.maxSize MQY}}a-oug
The maximize size of a multipart request (file upload) P3k@ptc-K
multipart请求信息的最大尺寸(文件上传用) 2.2G79U,
\C}_l+nY
struts.multipart.parser mm:g9j
The org.apache.struts2.dispatcher.multipart. ;ztt*py
MultiPartRequest parser implementation for a multipart request (file upload) (M-Wea!q
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ln2lFfz
%K[u
qRcY(mb
struts.multipart.saveDir Q
H57[Yg
The directory to use for storing uploaded files >Y6iLQ$X
设置存储上传文件的目录夹 pQNTN.L9NZ
-<{;.~nI.
struts.objectFactory u85dG7
The com.opensymphony.xwork2.ObjectFactory implementation class cuoZ:Wh
com.opensymphony.xwork2.ObjectFactory接口(spring) 6ec#3~ Y]
>]}c,4D(
struts.objectFactory.spring.autoWire 1PUeU+
Whether Spring should autoWire or not i",7<01
是否自动绑定Spring 8W2oGL6
/wX5>^
struts.objectFactory.spring.useClassCache Rn_FYP
Whether Spring should use its class cache or not f.G"[p
是否spring应该使用自身的cache Js'j}w
tJvs
?eZ)
struts.objectTypeDeterminer _'0C70
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class NZL$#bRB
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 mHF?t.y
"qdEu KI
struts.serve.static.browserCache %F}i2!\<L
If static content served by the Struts filter should set browser caching header properties or not l<)k`lrMX4
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 od-yVE&
2r"J"C
struts.serve.static P^57a?[`
Whether the Struts filter should serve static content or not ' 4.T1i,
是否struts过滤器应该提供静态内容 f
0r?cZ
AF\gB2^
struts.tag.altSyntax F nc MIzp
Whether to use the alterative syntax for the tags or not G@+R!IG
是否可以用替代的语法替代tags ZZ324UuATX
?J ,K[.z
struts.ui.templateDir P[%nD cB
The directory containing UI templates `LOW)|6r`
UI templates的目录夹 sXwa`_{
F#)@ c
struts.ui.theme E<[Y KY
The default UI template theme fZavZ\qU
默认的UI template主题 P47x-;
Ih<.2
struts.url.http.port _$P1N^}Zs
The HTTP port used by Struts URLs 0^83:C
^{
设置http端口 \h@3dJ4
awl3|k/
struts.url.https.port }0}=-g&
The HTTPS port used by Struts URLs LaX<2]Tx:
设置https端口 m0p%R>:5
Fv-~v&
struts.url.includeParams \A 5Na-/9
The default includeParams method to generate Struts URLs Tn"^`\m
在url中产生 默认的includeParams uE,g|51H/
|c[= V?AC
)?{jD
struts.velocity.configfile `hf`lq^
The Velocity configuration file path (>SucUU
velocity配置文件路径 O?t49=uB}
9/JBn
struts.velocity.contexts V~sfR^FQ'
List of Velocity context names K/0Wp %
velocity的context列表 L./{^)
ML.|\:r*
Nj{;
struts.velocity.manager.classname 9~{,Hj1xE
org.apache.struts2.views.velocity.VelocityManager implementation class "i,ZG$S#E
org.apache.struts2.views.velocity.VelocityManager接口名 ZkryoIQ%=
:[&QoEZW
struts.velocity.toolboxlocation l?B=5*0
The location of the Velocity toolbox a"D'QqtH
velocity工具盒的位置 8osP$"/o
struts.xslt.nocache )%09j0y>l"
Whether or not XSLT templates should not be cached 'Pe;Tp>`
是否XSLT模版应该被缓存
no(or5UJ