struts2的struts.properties配置文件详解 ?dTD\)%A
%T[]zJ(
struts.action.extension ZSw.U:ep$s
The URL extension to use to determine if the request is meant for a Struts action _1^'(5f$
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /Oono6j
[[ZJ]^n,
struts.configuration !D6]JPX
The org.apache.struts2.config.Configuration implementation class "@kaHIf[
org.apache.struts2.config.Configuration接口名 `cO:<^%
iU-j"&L5
struts.configuration.files 7)m9"InDI
A list of configuration files automatically loaded by Struts 2oW"'43X
struts自动加载的一个配置文件列表 }Z>)DN=+
}Jw,>}
struts.configuration.xml.reload rqq1TRg
Whether to reload the XML configuration or not G$PE}%X
是否加载xml配置(true,false) 1YA% -~
Xj*Wu_
struts.continuations.package U*:!W=XN
The package containing actions that use Rife continuations #$vEGY}1
含有actions的完整连续的package名称 ^Cmyx3O^
13PS2
struts.custom.i18n.resources i4Jc.8^9$
Location of additional localization properties files to load ^.tg 7%dJ
加载附加的国际化属性文件(不包含.properties后缀) =41xkAMnk
N!3 2 wJ
struts.custom.properties !k%#R4*>
Location of additional configuration properties files to load )"LJ
hLg
加载附加的配置文件的位置 g}i61(
n%-0V>
g`^x@rj`E
struts.devMode l%ZhA=TKQ
Whether Struts is in development mode or not @o^Ww
是否为struts开发模式 ]4{H+rw
AGno6g
struts.dispatcher.parametersWorkaround iE{&*.q_}>
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _wcNgFx
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) VpUAeWb
\jA~9
struts.enable.DynamicMethodInvocation >7r!~+B"9'
Allows one to disable dynamic method invocation from the URL /(T?j!nPE
允许动态方法调用 / xQPTT
*VeRVaBl
struts.freemarker.manager.classname 4YHY7J
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class % nIf)/2g
org.apache.struts2.views.freemarker.FreemarkerManager接口名 zzz3Bq~
-8Xf0_
struts.i18n.encoding DMS!a$4
The encoding to use for localization messages ]9XDS[<2`
国际化信息内码 _U0f=m
"ta x?
struts.i18n.reload 6RM/GM
Whether the localization messages should automatically be reloaded HThcn1u~^b
是否国际化信息自动加载 =EIkD9u
8f7>?BUS,
struts.locale zJXplvaL;
The default locale for the Struts application {[(h[MW#
默认的国际化地区信息 s(^mZ
-i
^(<f/C)i
struts.mapper.class q =Il|Nb>
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class S$k&vc(0
org.apache.struts2.dispatcher.mapper.ActionMapper接口 RyN s6
jIF
|P-
struts.multipart.maxSize |' .
The maximize size of a multipart request (file upload) XM}hUJJW
multipart请求信息的最大尺寸(文件上传用) s7EinI{^
,PZ ge
struts.multipart.parser V,9cl,z+
The org.apache.struts2.dispatcher.multipart. {|\.i
MultiPartRequest parser implementation for a multipart request (file upload) rH>)oThA#
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Wvqhl
'J
mqJ_W[y7
b[7]F
struts.multipart.saveDir %bfZn9_m
The directory to use for storing uploaded files 2-b6gc7
设置存储上传文件的目录夹 PVOv[%
x`?3C"N:<
struts.objectFactory Tf)*4O4@'
The com.opensymphony.xwork2.ObjectFactory implementation class >3_Gw4S*H
com.opensymphony.xwork2.ObjectFactory接口(spring) $SE^S
m4g$N)
struts.objectFactory.spring.autoWire d7i]FV
Whether Spring should autoWire or not 2"5v[,$1H
是否自动绑定Spring `XB
9Mi=
qw8Rlws%
struts.objectFactory.spring.useClassCache $g7<Y*t[
Whether Spring should use its class cache or not \4#W xZ
是否spring应该使用自身的cache J$!iq|
m`_ONm'T&
struts.objectTypeDeterminer eY\yE"3
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class )ANmIwmC#
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 }{"fJ3] c^
3Y~>qGQwh
struts.serve.static.browserCache :lzrgsW
If static content served by the Struts filter should set browser caching header properties or not rbCAnwA2
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 %[yJ4WL
rD>f|kA?L
struts.serve.static X$pJ
:M{F$
Whether the Struts filter should serve static content or not +]50D xflA
是否struts过滤器应该提供静态内容 RGU\h[
)0R'(#
struts.tag.altSyntax rt|7h>RQ
Whether to use the alterative syntax for the tags or not 3&/Ixm:
是否可以用替代的语法替代tags F\KUZ[%
9M9?%N:ra
struts.ui.templateDir J'2X&2
The directory containing UI templates uH-)y,2&
UI templates的目录夹 p"Z-6m~
7`YEH2
struts.ui.theme ,{q;;b9
The default UI template theme EyLu O-5
默认的UI template主题 )tpL#J
{>%&(
struts.url.http.port 3Le{\}-$.
The HTTP port used by Struts URLs IkXx# )
设置http端口 t. '!`5G
?NP1y9Y]i
struts.url.https.port kM@zyDn,
The HTTPS port used by Struts URLs hiw|2Y&`
设置https端口 V#}kwON
&yol_%C
struts.url.includeParams ^Va1f'g
The default includeParams method to generate Struts URLs Uv~QUL3>
在url中产生 默认的includeParams :#~j:C|
HX{`VahE
~| 6[j<ziL
struts.velocity.configfile \_6/vZ%-B
The Velocity configuration file path
EUgs6[w 4
velocity配置文件路径 BI}Cg{^km
-FlzEZ
struts.velocity.contexts CWP2{
List of Velocity context names kn"(A.R
velocity的context列表 )@'}\_a3[]
'oC)
NpnH
u4|$bbig
struts.velocity.manager.classname g
SAt@2*U2
org.apache.struts2.views.velocity.VelocityManager implementation class q8Z<{#oXu
org.apache.struts2.views.velocity.VelocityManager接口名 s&!a
M+9 gL3W
struts.velocity.toolboxlocation aCLq k'
The location of the Velocity toolbox 6qd\)q6T&x
velocity工具盒的位置 f:.I0 ST
struts.xslt.nocache NS6:yX,/
Whether or not XSLT templates should not be cached *GN#
r11d
是否XSLT模版应该被缓存 m<qJcZk