struts2的struts.properties配置文件详解 M4nM%qRGQ
BG-uKJ ^
struts.action.extension <H}"xp)j0
The URL extension to use to determine if the request is meant for a Struts action nl*{@R.q @
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #n{wK+lz
H#m)`=nZSZ
struts.configuration x2Y1B
The org.apache.struts2.config.Configuration implementation class H<}<f:
org.apache.struts2.config.Configuration接口名
0>H<6Ja
ItYG9a
struts.configuration.files
/A_</GYs
A list of configuration files automatically loaded by Struts 7#MBT-ih
struts自动加载的一个配置文件列表 ]pB0b JAt
P6i4Dr
struts.configuration.xml.reload KbMgatI/
Whether to reload the XML configuration or not X[j4V<4O
是否加载xml配置(true,false) z+PSx'#}
_f|Au`7m
struts.continuations.package D<L]'
The package containing actions that use Rife continuations ]'~'V2Ey
含有actions的完整连续的package名称 1^!=J<`K;
|]+m<Dpyr2
struts.custom.i18n.resources Arir=q^2
Location of additional localization properties files to load T"kaOy
加载附加的国际化属性文件(不包含.properties后缀) H",yVD
rU<
H7U
struts.custom.properties x:xKlPGd
Location of additional configuration properties files to load Ad@))o2
加载附加的配置文件的位置 F8_pwJUpf-
P%'bSx1
"!E(=W?
struts.devMode n_$lRX5
Whether Struts is in development mode or not ?tqTG2! (
是否为struts开发模式 e>nRJH8pK
,EcmMI^A
struts.dispatcher.parametersWorkaround DG7FG--
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic (z ;=3S
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) <g>_#fz"K
2?QIK3"v
struts.enable.DynamicMethodInvocation #Sb1oLC
Allows one to disable dynamic method invocation from the URL v}xz`]MW<,
允许动态方法调用 AJt0l|F
y"e'Gg2
struts.freemarker.manager.classname 1'c!9
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {(D$Xb
org.apache.struts2.views.freemarker.FreemarkerManager接口名 [Gh T.
MyCX6+Ci)
struts.i18n.encoding @,M !&l
The encoding to use for localization messages P8DJv-f`
国际化信息内码 8@6:UR.)
^5=}Y>EJO
struts.i18n.reload 0J@)?,V-.
Whether the localization messages should automatically be reloaded k W/3
Aq7r
是否国际化信息自动加载 ORcl=Eo>
tq<7BO<6
struts.locale W>wE8? _,
The default locale for the Struts application 6/nhz6=
默认的国际化地区信息 <G 2;nvRr
3t68cdFlz
struts.mapper.class 2~R"3c+^
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Z(/jQ=ozQ
org.apache.struts2.dispatcher.mapper.ActionMapper接口 vB/MnEKR
ua`2
&;T=
struts.multipart.maxSize e{To&gy~
The maximize size of a multipart request (file upload) kn+`2-0
multipart请求信息的最大尺寸(文件上传用) jl3RE|M\<
;OPz T9
struts.multipart.parser ws?p2$ Cla
The org.apache.struts2.dispatcher.multipart. }(op;7
MultiPartRequest parser implementation for a multipart request (file upload) g3LAi#m
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) N=tyaS(YJ
+s1+;VUs3
/LuwPM
struts.multipart.saveDir HQ/PHUg2
The directory to use for storing uploaded files TeHL=\L-^
设置存储上传文件的目录夹 lG%oqxJ+ L
o\b8lwA,
struts.objectFactory CN\s,. ]
The com.opensymphony.xwork2.ObjectFactory implementation class .H7"nt^
com.opensymphony.xwork2.ObjectFactory接口(spring) B`"-~4YAf
!x;T2l
struts.objectFactory.spring.autoWire +P}'2tE~'
Whether Spring should autoWire or not hkHMBsNi
是否自动绑定Spring `hM]5;0
z)43+8 ;
struts.objectFactory.spring.useClassCache T=;'"S
Whether Spring should use its class cache or not N+HN~'8r
是否spring应该使用自身的cache <^n9?[m*
\&@Tq-o
struts.objectTypeDeterminer #^!oP$>1
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class dlJkxEh2
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *|_u~v:)|5
9e=F
struts.serve.static.browserCache $qg5m,1?
If static content served by the Struts filter should set browser caching header properties or not d/Zt}{
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 lNqXx{!k
S3)JEZi
struts.serve.static S U2`H7C*
Whether the Struts filter should serve static content or not 6M+~{9(S
是否struts过滤器应该提供静态内容 *=@Z\]"?
2}~1poyi>
struts.tag.altSyntax ',m,wp`
Whether to use the alterative syntax for the tags or not `j_R ?mY
是否可以用替代的语法替代tags >@h0@N
7lR(6ka&/
struts.ui.templateDir N5%~~JRO
The directory containing UI templates EJdq"6S
UI templates的目录夹 3"I 1'+
*7BY$q
struts.ui.theme !G`w@E9M)
The default UI template theme 2ZIf@C{P.
默认的UI template主题 .Zf#L'Rf
8Nc i1o
struts.url.http.port ` mALx! `
The HTTP port used by Struts URLs w
V27
设置http端口 6tzZ j:yq
Ujq)h:`
struts.url.https.port FE/&<g0,:
The HTTPS port used by Struts URLs ;S,g&%N
设置https端口 W%0-SR
={={W
struts.url.includeParams vQu) uml
The default includeParams method to generate Struts URLs tQo"$ JN}
在url中产生 默认的includeParams W=I%3F_C"R
oUltr
:T%,.sH
struts.velocity.configfile n9cWvy&f
The Velocity configuration file path -}4 H'%Z(i
velocity配置文件路径 Yk?uxZ4)H
e!eWwC9u
struts.velocity.contexts rLh490@
List of Velocity context names cX*
velocity的context列表 "pMXTRb
la|#SS95
u+8_et5T
struts.velocity.manager.classname R;I}#b cJ
org.apache.struts2.views.velocity.VelocityManager implementation class ^h^j:!76j
org.apache.struts2.views.velocity.VelocityManager接口名 +n2x@ 0op
;E*^AW
struts.velocity.toolboxlocation
,2 &'8:B
The location of the Velocity toolbox RDzL@xCcn
velocity工具盒的位置 '["Y;/>
struts.xslt.nocache =wS:)%u
Whether or not XSLT templates should not be cached z-krL: A
是否XSLT模版应该被缓存 PcDPRX!@