struts2的struts.properties配置文件详解 $-EbJ
}L3k pw
struts.action.extension N{ @B@]
The URL extension to use to determine if the request is meant for a Struts action D<]z.33
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =i4 Ds
_ ^r KOd
struts.configuration 1nye.i~
The org.apache.struts2.config.Configuration implementation class &ScADmZP^d
org.apache.struts2.config.Configuration接口名 eI/9uR%
JFIUD{>fp
struts.configuration.files XL1v&'HLV
A list of configuration files automatically loaded by Struts E?m(&O
j
struts自动加载的一个配置文件列表 5\A[ra
HE,# pj(D
struts.configuration.xml.reload TG~:Cmc
Whether to reload the XML configuration or not d:|X|0#\uH
是否加载xml配置(true,false) 5^~%10=
|x3.r t
struts.continuations.package gT22!
The package containing actions that use Rife continuations a=+qR:wT
含有actions的完整连续的package名称 k,LeBCqGcb
1D sgU6"
struts.custom.i18n.resources 7loIX Qw
Location of additional localization properties files to load N=YRYUo
加载附加的国际化属性文件(不包含.properties后缀) s+8
v7ZJ
3i/$YX5@
struts.custom.properties <b~KR8
Location of additional configuration properties files to load %qfql
加载附加的配置文件的位置 "qYPi
G'{$$+U^K
|[7xTD
struts.devMode : " 9F.U
Whether Struts is in development mode or not ]L@VpHEj
是否为struts开发模式 -^`]tF`M
, |,DXw
struts.dispatcher.parametersWorkaround uW3`gwwlU
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 3Sv<Viuo
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &'uFy0d,
Pwn"!pk
struts.enable.DynamicMethodInvocation 5*l~7R
Allows one to disable dynamic method invocation from the URL (,#Rj$W
允许动态方法调用 l*T>9yC
O]o `!c
struts.freemarker.manager.classname hqd}L~o:
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `j{q$Y=AG
org.apache.struts2.views.freemarker.FreemarkerManager接口名 2"*7HS
K+5S7wFDZ
struts.i18n.encoding po~V{>fUm
The encoding to use for localization messages S-&[Tp+N
国际化信息内码 q-P$ \":
W 0%FZ0l
struts.i18n.reload rnz9TmN:*1
Whether the localization messages should automatically be reloaded -
|n\
是否国际化信息自动加载 Yq-Nk:H|
ua#sW
struts.locale Z6F>SL
The default locale for the Struts application r<,W{Va
默认的国际化地区信息 Mn7nS:
St}j^i
struts.mapper.class k\W%^Z
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class B:Ec(USe
org.apache.struts2.dispatcher.mapper.ActionMapper接口 >bWx!M]
~0aWjMc(>
struts.multipart.maxSize _-$O6eZ
The maximize size of a multipart request (file upload) eY^;L_7}p
multipart请求信息的最大尺寸(文件上传用) pCS2sq8RC
6m"_=.k%
struts.multipart.parser %T4htZa
The org.apache.struts2.dispatcher.multipart. *u^N_y
MultiPartRequest parser implementation for a multipart request (file upload) b0|q@!z>
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {KYbsD
m`l3@Z
]@)T]
struts.multipart.saveDir >Ng7q?h
The directory to use for storing uploaded files ^_BHgbS%;
设置存储上传文件的目录夹 gmkD'CX*A
)y&}c7xW
struts.objectFactory \' (_r
The com.opensymphony.xwork2.ObjectFactory implementation class {Bk9]:'$5
com.opensymphony.xwork2.ObjectFactory接口(spring) H-$ )@
g"gh2#!D
struts.objectFactory.spring.autoWire iLiEh2%P
Whether Spring should autoWire or not teh$W<C
是否自动绑定Spring jsL\{I^>
HL-zuZa`Ju
struts.objectFactory.spring.useClassCache YcW[BMy5h
Whether Spring should use its class cache or not gU1E6V-Jm
是否spring应该使用自身的cache eV$pza
Ej\EuX
struts.objectTypeDeterminer C,T9xm
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <Hw)},_*
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %"Tn=fZIF
'wB6-
struts.serve.static.browserCache Rd7[e^HSN
If static content served by the Struts filter should set browser caching header properties or not <20rxOEnf
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 04>dxw)8
PI@/jh
struts.serve.static Bwv@D4bii
Whether the Struts filter should serve static content or not V9qZa
是否struts过滤器应该提供静态内容 )2t!=
ua
foY=?mbL
struts.tag.altSyntax }`M53>C,gQ
Whether to use the alterative syntax for the tags or not kNqSBzg
是否可以用替代的语法替代tags 3NRxf8
mNS7/I\
struts.ui.templateDir o;bK 7D
The directory containing UI templates l1BbL5#1Q>
UI templates的目录夹 JQ|qg\[
_q*4+x
struts.ui.theme Du@?j7&l=$
The default UI template theme :l<)p;\
默认的UI template主题 r_/=iYYJ
_hT-5)1r
struts.url.http.port 5A(zQ'6
The HTTP port used by Struts URLs ]l\'1-/
设置http端口 #LRN@?P
P{2V@ <}
struts.url.https.port o|#Mq"od
The HTTPS port used by Struts URLs PR rf$& u
设置https端口 2D|2/ >[
Omy4Rkj8bh
struts.url.includeParams b=[gK|fu
The default includeParams method to generate Struts URLs ;4XvlcGo
在url中产生 默认的includeParams Bc%A aZ0x
e45gjjts
X :2%U
struts.velocity.configfile "[(&$I
The Velocity configuration file path py#`
velocity配置文件路径 jM`)Nd
P&PPX#%
struts.velocity.contexts V/w:^@5+p
List of Velocity context names ~<b/%l>h1
velocity的context列表 X"QIH|qx-
R Fgy
EX^}#|e*h
struts.velocity.manager.classname ];BGJ5^j
org.apache.struts2.views.velocity.VelocityManager implementation class vd>K=!
J
org.apache.struts2.views.velocity.VelocityManager接口名 |X&.+RI
eeIaH
>
struts.velocity.toolboxlocation @j
+8 M
The location of the Velocity toolbox !O=?n<Ex"
velocity工具盒的位置 =@%;6`AVcp
struts.xslt.nocache B&^WRM;7t
Whether or not XSLT templates should not be cached 1~BDtHW7`n
是否XSLT模版应该被缓存 jIY