struts2的struts.properties配置文件详解 /:[2'_Xl
O#_b7i
struts.action.extension Vrp[r *V@E
The URL extension to use to determine if the request is meant for a Struts action lA;a
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &`!^Zq vG
M+xdHBg
struts.configuration %b}gDWs
The org.apache.struts2.config.Configuration implementation class A3{0q>CC
org.apache.struts2.config.Configuration接口名 -<f;l_(
Q0cRH"!:
struts.configuration.files ga0'zo9K
A list of configuration files automatically loaded by Struts :c]`D>
struts自动加载的一个配置文件列表 ux-CpI
#"f'7'TE
struts.configuration.xml.reload v:|(8Y
Whether to reload the XML configuration or not I+;-p]~
是否加载xml配置(true,false) ?mYYt]R
'Kbl3fUF
struts.continuations.package ;4#D,z lO^
The package containing actions that use Rife continuations [aqu}Su
含有actions的完整连续的package名称 pa<qZZ
K_BPZ5w
struts.custom.i18n.resources rrBAQY|.
Location of additional localization properties files to load kQv*eZ~
加载附加的国际化属性文件(不包含.properties后缀) [=%YV# O
@aG&n(.!u*
struts.custom.properties $u9]yiY.{
Location of additional configuration properties files to load SUtf[6
加载附加的配置文件的位置 X% {'<baR
e}{U7xQm1
.[s2zI
struts.devMode s(2GFc
Whether Struts is in development mode or not !|G(Yg7C
是否为struts开发模式 8cxai8
B]iP't\~
struts.dispatcher.parametersWorkaround ,?-\
x6
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic bKbp?-]
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) yy2I2Bv
;N=G=X|}
struts.enable.DynamicMethodInvocation ?.bnIwQe
Allows one to disable dynamic method invocation from the URL -_^c6!i
允许动态方法调用 3I=kr
kCP$I732
struts.freemarker.manager.classname "^CXY3v
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class _}Ps(_5D
org.apache.struts2.views.freemarker.FreemarkerManager接口名 {rH9grb
u5E]t9~Pq
struts.i18n.encoding JBX[bx52<r
The encoding to use for localization messages m7|RD]q&
国际化信息内码 B|{I:[
&xSa7FY
struts.i18n.reload {1lO
Whether the localization messages should automatically be reloaded 5z/Er".P
是否国际化信息自动加载 i%{X9!*%TX
\ FzM4-
struts.locale G*8GGWB^a
The default locale for the Struts application O>0VTW
默认的国际化地区信息 /.Jb0h[W1
NX6nQ
struts.mapper.class hkL5HzWn
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class I4_d[O9
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]Yyia.B
vA% ^`5
struts.multipart.maxSize O/Y)&VG7
The maximize size of a multipart request (file upload) @e2}BhB2
multipart请求信息的最大尺寸(文件上传用) OEgI_=B
udqS'g&
struts.multipart.parser $&P?l=UG
The org.apache.struts2.dispatcher.multipart. l:(Rb-Wy
MultiPartRequest parser implementation for a multipart request (file upload) /X8<C=}
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8\ha@&p
{U!uVQC'
yubSj*
struts.multipart.saveDir
\' li
The directory to use for storing uploaded files F_;tT%ywfx
设置存储上传文件的目录夹 wVK*P
-C
M@UVpQwgv
struts.objectFactory TJ@Cj y%
The com.opensymphony.xwork2.ObjectFactory implementation class ),^eA
com.opensymphony.xwork2.ObjectFactory接口(spring) w2gf&Lc\
@)YY\l#
struts.objectFactory.spring.autoWire 7LZ^QC
Whether Spring should autoWire or not 2-If]Fc
是否自动绑定Spring WPuz]Ty
M++0zhS
struts.objectFactory.spring.useClassCache ilLBCS}
Whether Spring should use its class cache or not zi]%Zp
是否spring应该使用自身的cache %uESrc-;
,lN5,zI=S
struts.objectTypeDeterminer VkmRh,T
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <_S@6?
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Y0uvT7+[hi
>O`l8tM
struts.serve.static.browserCache =5]n\"/
If static content served by the Struts filter should set browser caching header properties or not ~XM[>M\qB
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Q'NmSX)0
|(IO=V4P
struts.serve.static &vUq}r%P
Whether the Struts filter should serve static content or not 1hQN8!: <
是否struts过滤器应该提供静态内容 70W"G
X&
Jn}n*t3
struts.tag.altSyntax {Q(}DI
Whether to use the alterative syntax for the tags or not $K}.
+`vVO
是否可以用替代的语法替代tags qc-,+sn(
".2K9j7$
struts.ui.templateDir =jAFgwP\
The directory containing UI templates -$8.3\6h
UI templates的目录夹 xp \S2@<
9t:]
struts.ui.theme BR_TykP
The default UI template theme D#rrW?-z
默认的UI template主题 +a)E|(cN
)$M,Ul
struts.url.http.port "cUg>a3
The HTTP port used by Struts URLs i2,U,>.
设置http端口 1JS2SxF
T|4snU2M
struts.url.https.port Z|6{T
The HTTPS port used by Struts URLs d.F)9h]XHO
设置https端口 ?Hz2-Cn
&_-](w`
struts.url.includeParams L K7Xw3
The default includeParams method to generate Struts URLs $g8}^1
在url中产生 默认的includeParams ^QL 877
-AD2I {C
|Ur"za;%@
struts.velocity.configfile D0bnN1VP
The Velocity configuration file path fib#CY
velocity配置文件路径 S q@H
w<nv!e?
struts.velocity.contexts kyUl{Zj
List of Velocity context names gSi5u#}J
velocity的context列表 HMQI&Lh=U
Pe^!$
i?}>.$j
struts.velocity.manager.classname |7F*MP
org.apache.struts2.views.velocity.VelocityManager implementation class t 0O4GcAN
org.apache.struts2.views.velocity.VelocityManager接口名 f?UzD#50D
`iixq9xi
struts.velocity.toolboxlocation %_)zWlN
The location of the Velocity toolbox |"7Pv
skT
velocity工具盒的位置 7!4V>O8@
struts.xslt.nocache >.%4~\U
Whether or not XSLT templates should not be cached Epjff@7A
是否XSLT模版应该被缓存 kA?_%fi1