struts2的struts.properties配置文件详解 0sCWIGUW
,8cVv->u/
struts.action.extension .z*}%,G
The URL extension to use to determine if the request is meant for a Struts action 6uX,J(V,
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]3Jb$Q@
7loWqZ
struts.configuration V6k Dyl(
The org.apache.struts2.config.Configuration implementation class ID<[=es6
org.apache.struts2.config.Configuration接口名 z.OJ1vY7
?JW/Stua
struts.configuration.files Jid_&\
A list of configuration files automatically loaded by Struts o"kL,&
struts自动加载的一个配置文件列表 _lC0XDZ
"{c@}~
struts.configuration.xml.reload CioS}K
Whether to reload the XML configuration or not \6pQ&an
是否加载xml配置(true,false) Gh<#wa['}
#F6M<V'
struts.continuations.package [jGE{<Je
The package containing actions that use Rife continuations @4Q/J$
含有actions的完整连续的package名称 F;Q'R|HQ
u(PUbxJ
V
struts.custom.i18n.resources (nYGN$qC9
Location of additional localization properties files to load kjt(OFh'Y+
加载附加的国际化属性文件(不包含.properties后缀) l% qh^0
by$mD_sr
struts.custom.properties rqKK89fD'
Location of additional configuration properties files to load
^b^buCYw
加载附加的配置文件的位置 n]>L"D,
|3hNTH?
Ix~rBD9
struts.devMode mcs!A/]<
Whether Struts is in development mode or not m\_v{1g
是否为struts开发模式 ' t^ r2N/
Ri*mu*r\}
struts.dispatcher.parametersWorkaround =Ew77
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic n;QFy5HB8
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _:Jma
p[;@9!t
struts.enable.DynamicMethodInvocation 8~O0P=
Allows one to disable dynamic method invocation from the URL B3I0H6O
允许动态方法调用 $y UPua/-
dqi31e{*2\
struts.freemarker.manager.classname EOS[MjX+J
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?KE:KV[Y
org.apache.struts2.views.freemarker.FreemarkerManager接口名 D8{f7{nY
GC(QV}9z"
struts.i18n.encoding sHOBT,B
The encoding to use for localization messages "s@q(J
国际化信息内码 ;{0%Vp{
8?w#=@ s
struts.i18n.reload ~3|)[R=+p1
Whether the localization messages should automatically be reloaded N{6-a
是否国际化信息自动加载 Q<yvpT(
t"5ZYa
struts.locale R?Ch8mW.!
The default locale for the Struts application };f^*KZ=0
默认的国际化地区信息 Kp!A
ay
UlPGB2B
struts.mapper.class V|/N-3M
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class OU*skc>
org.apache.struts2.dispatcher.mapper.ActionMapper接口 0%yPuY>
w BoP&l
struts.multipart.maxSize ~b%dBn]n>
The maximize size of a multipart request (file upload) Oe;1f#`5
multipart请求信息的最大尺寸(文件上传用) Fz5eCe\B
Ci2*5n<
struts.multipart.parser lbh7`xCR
The org.apache.struts2.dispatcher.multipart. /XdLdA!v
MultiPartRequest parser implementation for a multipart request (file upload) &3itBQF
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =p dLh
474
oVdGx
}n
+MVJ;dG
struts.multipart.saveDir (@bq@0g
The directory to use for storing uploaded files QoMa+QTuc
设置存储上传文件的目录夹 9Fg:
.Y }k@T40a
struts.objectFactory +6L.a3&(b
The com.opensymphony.xwork2.ObjectFactory implementation class /2 qxJvZ
com.opensymphony.xwork2.ObjectFactory接口(spring) pi/&WMZ<
A[^k4>
struts.objectFactory.spring.autoWire gm1RQ^n,@.
Whether Spring should autoWire or not aFL<(,~r
是否自动绑定Spring o<5+v^mt#
'L^M"f^I
struts.objectFactory.spring.useClassCache &M=15 uCK
Whether Spring should use its class cache or not IiY%y:!g
是否spring应该使用自身的cache J8[aVG
w,X J8+B
struts.objectTypeDeterminer .g.glQ_~=
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3.rl^Cq1
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 XRP+0=0
(aB:P03
struts.serve.static.browserCache l(}l([rdQ
If static content served by the Struts filter should set browser caching header properties or not OJ.oHf=K!
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _P%PjFQ)
\7e4t
struts.serve.static M"$g*j
Whether the Struts filter should serve static content or not IU"8.(;o
是否struts过滤器应该提供静态内容 ly@%1
x6vkd%fCj
struts.tag.altSyntax c]|Tg9AW
Whether to use the alterative syntax for the tags or not ojVN-*5
是否可以用替代的语法替代tags ;)ERxMun
sGa "
struts.ui.templateDir Vq^b_^
The directory containing UI templates yP34h*0B
UI templates的目录夹 /)4Q%Zp
{&FOa'bP
struts.ui.theme CM t$)
The default UI template theme _6]tbni?v
默认的UI template主题 8sq0 BH
8SCXA9}
struts.url.http.port aaI5x
The HTTP port used by Struts URLs 8 v da"
设置http端口 aLwEz}-
EWWCh0
{
struts.url.https.port JZqJ&
The HTTPS port used by Struts URLs eUD 5V
设置https端口 m`4N1egCt
GZmfE`
struts.url.includeParams +hs:W'`%
The default includeParams method to generate Struts URLs +KIBbXF7
在url中产生 默认的includeParams _9S"rH[
-@~4: o
,<TJh[TzC6
struts.velocity.configfile #.LI`nYA
The Velocity configuration file path Ol;"}3*Z*
velocity配置文件路径 X& XD2o"rt
B~ j3!?
struts.velocity.contexts !VHw*fL|r
List of Velocity context names ~b[5}_L=>
velocity的context列表 hl8oE5MU
>&T J
semTAoqH
struts.velocity.manager.classname %xC}#RDf
org.apache.struts2.views.velocity.VelocityManager implementation class ?` 2z8uD/
org.apache.struts2.views.velocity.VelocityManager接口名 7bR[.|T
i3>_E <"9
struts.velocity.toolboxlocation >=3oe.$)
The location of the Velocity toolbox w ;:{
velocity工具盒的位置 }G"bD8+
struts.xslt.nocache A'*#UYn(
Whether or not XSLT templates should not be cached LDDt=HEY4
是否XSLT模版应该被缓存 /KlSI<T@