struts2的struts.properties配置文件详解 4qiG>^h9
a0y;c@pkO
struts.action.extension VNA VdP
The URL extension to use to determine if the request is meant for a Struts action o6oZk0
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Rl$NiY?2
lSQANC'
struts.configuration ']4sx_)S
The org.apache.struts2.config.Configuration implementation class {TlS)i`
org.apache.struts2.config.Configuration接口名 qhiQ!fMQ
Gu&zplB
struts.configuration.files ~Kt.%K5lgt
A list of configuration files automatically loaded by Struts \e ( h6,@
struts自动加载的一个配置文件列表 <7u*OYjA
_
@ \
struts.configuration.xml.reload !^B`7
Whether to reload the XML configuration or not ]cFqKs
是否加载xml配置(true,false) RqH"+/wR
Rs5G5W@"A
struts.continuations.package "y>l2V,4j%
The package containing actions that use Rife continuations -/KVZ
含有actions的完整连续的package名称 ])T*T$u
"(T@*"vX2
struts.custom.i18n.resources ;M\H#%G.
Location of additional localization properties files to load k\1q Jr
加载附加的国际化属性文件(不包含.properties后缀) d;)Im
"
wcB-)Ra
struts.custom.properties C:$ l H
Location of additional configuration properties files to load [u/g =^+u
加载附加的配置文件的位置 _s<eqCBV
|=,V,*"
v0\2%PC
struts.devMode >qCUs3}C{*
Whether Struts is in development mode or not =U3!D;XP
是否为struts开发模式 k`kmmb>
"-(yZigQ
struts.dispatcher.parametersWorkaround ;l+3l
ez
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %w_h8
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) [%z~0\lu8
P\N$TYeH
struts.enable.DynamicMethodInvocation +'Tr>2V
Allows one to disable dynamic method invocation from the URL ZuILDevMD
允许动态方法调用 9LzQp`In
lhJT&
struts.freemarker.manager.classname c,4UnEoCR
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class EC&w9:R
org.apache.struts2.views.freemarker.FreemarkerManager接口名 uiM*!ge
MQw{^6Z>1
struts.i18n.encoding ="<+^$7:k
The encoding to use for localization messages 4vGkgH<,
国际化信息内码 >\3=h8zw
~h tV*R
struts.i18n.reload |"vqM)V$
Whether the localization messages should automatically be reloaded Y0aO/6
是否国际化信息自动加载 l`fjz-eE
h#'(UZ
struts.locale <~vamim#K
The default locale for the Struts application F;5.nKo
默认的国际化地区信息 }3 RqaIY}
%/-Z1Nv*#
struts.mapper.class >*B/Wy
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }4 5|
org.apache.struts2.dispatcher.mapper.ActionMapper接口 lLyMm8E%pZ
doVBV Tk^
struts.multipart.maxSize
O0';j!?X
The maximize size of a multipart request (file upload) B TgL:
multipart请求信息的最大尺寸(文件上传用) Cddw\|'3
>mi%L3Pk
struts.multipart.parser dX,2cK[aG
The org.apache.struts2.dispatcher.multipart. lMF j"x\
MultiPartRequest parser implementation for a multipart request (file upload) ??ah
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) "JKrbgN@;L
T&X*[kP
9bq#&~+
struts.multipart.saveDir !+=jD3HTJ
The directory to use for storing uploaded files ={YW*1Xw
设置存储上传文件的目录夹 9Clddjf?c
<eI7xifD
struts.objectFactory VQ{}S $jQ
The com.opensymphony.xwork2.ObjectFactory implementation class thl{IU
com.opensymphony.xwork2.ObjectFactory接口(spring) d]$z&E
|:L<Ko
struts.objectFactory.spring.autoWire _:?)2 NV
Whether Spring should autoWire or not K{t7_i#tv
是否自动绑定Spring v/}M_E
$ZH$x3;
struts.objectFactory.spring.useClassCache JrQ*.lJj
Whether Spring should use its class cache or not ?_(0cVi
是否spring应该使用自身的cache KYu3dC'/,&
rhHX0+
struts.objectTypeDeterminer -=s7Q{O8Z
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8s6[?=nM
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 o_vK4%y(
wVP{R3
struts.serve.static.browserCache <dLdSEw
If static content served by the Struts filter should set browser caching header properties or not +\?#8U/k
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 u&mB;:&
`.>2h}op
struts.serve.static E<>n0",
Whether the Struts filter should serve static content or not (Lo<3a-]
是否struts过滤器应该提供静态内容 Jou~>0,/j
m .le' &
struts.tag.altSyntax 1 nIb/nY
Whether to use the alterative syntax for the tags or not BO5F6lyQ0P
是否可以用替代的语法替代tags LoPWho[8
3)Wi?
-
struts.ui.templateDir :S{[^-"
The directory containing UI templates yE.
ZvvQA
UI templates的目录夹 @G~T&6E!
My&h{Qk
struts.ui.theme wk<QYLEk
The default UI template theme dNB56E)5`J
默认的UI template主题 JGHQ_AI
kQRNVdiz
struts.url.http.port zQV$!%qR
The HTTP port used by Struts URLs ?tQUZO
设置http端口 "AS;\-Jk
/Uz2.Ua=
struts.url.https.port S/"-x{Gc2v
The HTTPS port used by Struts URLs _6;T
/_R=
设置https端口 "9Sxj
@=E@
*@g
struts.url.includeParams /NNe/7'l
The default includeParams method to generate Struts URLs D"El6<3)h
在url中产生 默认的includeParams #O7|&DqF{
&|LZ%W0Fb
iL\<G}
I
struts.velocity.configfile 9(dbou
The Velocity configuration file path wBTnI>l9[
velocity配置文件路径 o;7!$v>uK
LZqx6~]O
struts.velocity.contexts ^!3Sz1
List of Velocity context names k$9oUE,
velocity的context列表 N0,.cd]y`
vClD)Ar
/~'ZtxA
struts.velocity.manager.classname (@vu/yN
org.apache.struts2.views.velocity.VelocityManager implementation class =mxmJFA
org.apache.struts2.views.velocity.VelocityManager接口名 N5Eb.a9S
JM0'V0z
struts.velocity.toolboxlocation ff**) Xdh
The location of the Velocity toolbox 7[[XNJP
velocity工具盒的位置 S^]i
struts.xslt.nocache H5j~<@STC
Whether or not XSLT templates should not be cached \SkCsE#H
是否XSLT模版应该被缓存 6=3}gd5