struts2的struts.properties配置文件详解 [;+YO)
>EG;2]M&
struts.action.extension DoA f,9|_
The URL extension to use to determine if the request is meant for a Struts action jkd8M;Jw
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Pc-HQU
kQtl&{;k?
struts.configuration $@X,J2&
The org.apache.struts2.config.Configuration implementation class UlR7_
org.apache.struts2.config.Configuration接口名 ! >V1zk
4l:+>U@KU
struts.configuration.files A2 rRYzN;
A list of configuration files automatically loaded by Struts 2*N# %ZUX
struts自动加载的一个配置文件列表 ?Eed#pb_
7}MWmS^8j
struts.configuration.xml.reload p w8'+FX
Whether to reload the XML configuration or not -\vq-n
是否加载xml配置(true,false) '=5N?)
u Wtp2]A
struts.continuations.package AkF3F^
The package containing actions that use Rife continuations JT<J[Qz5
含有actions的完整连续的package名称 (s~hh
@%K 8oYK
struts.custom.i18n.resources !&kOqc5:t<
Location of additional localization properties files to load mDhU wZH
加载附加的国际化属性文件(不包含.properties后缀) #HML=qK~
$kdfY'u
struts.custom.properties UqH7e c
Location of additional configuration properties files to load dbR4%;<
加载附加的配置文件的位置 M&L" yQA
R_ csKj
=e63>*M|
struts.devMode {u7E )Fdl
Whether Struts is in development mode or not yq2Bz7P
是否为struts开发模式 Jx_4:G
!zeBxR$&o
struts.dispatcher.parametersWorkaround {.ph)8
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~96"^%D
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ;YB8X&H$
3 Xy>kG}
struts.enable.DynamicMethodInvocation R!`#pklB
Allows one to disable dynamic method invocation from the URL CZ@M~Si_
允许动态方法调用 U6{ RHS[
:geXplTx
struts.freemarker.manager.classname )K}b,X`($
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class PUI.Un2C_
org.apache.struts2.views.freemarker.FreemarkerManager接口名 sM4N`$Is23
%j'lWwi
struts.i18n.encoding dX<UruPA
The encoding to use for localization messages "5@Y\L
国际化信息内码 Wd[XQZ<
Z-WWp#b
struts.i18n.reload t
;[Me0
Whether the localization messages should automatically be reloaded MtS$ovg?
是否国际化信息自动加载 bw@tA7Y
Q.nEY6B_
struts.locale |^FDsJUN
The default locale for the Struts application ;$Wa=wHb
默认的国际化地区信息 3p7*UVR"
Ros5]5=dP
struts.mapper.class 9[:nWp^
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class uH`ds+Hp
org.apache.struts2.dispatcher.mapper.ActionMapper接口 MjHeUf
<>-UPRwqI
struts.multipart.maxSize l_DPlY
The maximize size of a multipart request (file upload) ]RxNSr0e
multipart请求信息的最大尺寸(文件上传用) (|Xf=q,Le
n6oVx5/
struts.multipart.parser A+?n=IHh
The org.apache.struts2.dispatcher.multipart. qlSMg;"Ghw
MultiPartRequest parser implementation for a multipart request (file upload) sH6srwI
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) i`E]gJ$
X]`\NNx
2-2'c?%
struts.multipart.saveDir wd u>3Ch"y
The directory to use for storing uploaded files ao
32n
设置存储上传文件的目录夹 aX0sy\Z]j
y#r=^r]l)
struts.objectFactory <&:3|2p
The com.opensymphony.xwork2.ObjectFactory implementation class qbB.Z#w
com.opensymphony.xwork2.ObjectFactory接口(spring) |i1z47jN6P
H.'_NCF&;L
struts.objectFactory.spring.autoWire F/mD05{
Whether Spring should autoWire or not OS,-dG(
是否自动绑定Spring 1298&C@
ci,o'`Q
struts.objectFactory.spring.useClassCache -^C;WFh8)
Whether Spring should use its class cache or not Ie` `Wb=
是否spring应该使用自身的cache x}72jJe`
[4"%NY
struts.objectTypeDeterminer mh|M O(
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class t'~:me!
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 BC&Et62*
%o.+B~r
struts.serve.static.browserCache _)lK.5
If static content served by the Struts filter should set browser caching header properties or not +BmA4/P$
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `4XfT.9GT
<PXA`]x~
struts.serve.static 852$Ui|I
Whether the Struts filter should serve static content or not f'*HP%+Y
是否struts过滤器应该提供静态内容 T7&itgEYG/
+STT(b Mn
struts.tag.altSyntax *j8w"
4
Whether to use the alterative syntax for the tags or not :x= ZvAvo
是否可以用替代的语法替代tags nbhx2@Teqe
kf^Wzp
struts.ui.templateDir RDk{;VED{
The directory containing UI templates !dGy"-i$h
UI templates的目录夹 -H{c@hl
n6
)
struts.ui.theme Ywlym\
[+
The default UI template theme L<J%IlcfO
默认的UI template主题 (]'4_~e
H<dm;cU
struts.url.http.port [K%Jt
The HTTP port used by Struts URLs {U7j
设置http端口 B
+_D*a
[G4#DP\t>p
struts.url.https.port \Ui8Sgeei
The HTTPS port used by Struts URLs no^I![_M
设置https端口 YgrBIul
7RTp+FC]
struts.url.includeParams T3Qa[>+\
The default includeParams method to generate Struts URLs Bglh}_X
在url中产生 默认的includeParams ln#Lx&r;|
M {_`X
yAXw?z!`O
struts.velocity.configfile EVrOu""
The Velocity configuration file path `fc2vaSH =
velocity配置文件路径 h5.u W8
*_3+ DF
struts.velocity.contexts ^=FtF9v
List of Velocity context names g@KS\.m]
velocity的context列表 D@FJVF7c
Yc+/="&z
@R(6w{h9
struts.velocity.manager.classname w~X1Il7A
org.apache.struts2.views.velocity.VelocityManager implementation class -E?h^J&U
org.apache.struts2.views.velocity.VelocityManager接口名 [gQ*y~N
Ga"$_DyM
struts.velocity.toolboxlocation jo0p/5;
The location of the Velocity toolbox pX*Oc6.0mu
velocity工具盒的位置 q?e97 a
struts.xslt.nocache Hq< Vk.Nk
Whether or not XSLT templates should not be cached n<y!@p^X
是否XSLT模版应该被缓存 }"2
0: