struts2的struts.properties配置文件详解 d|XmasGN
`9Yn0B.
struts.action.extension (luKn&826
The URL extension to use to determine if the request is meant for a Struts action w&Y{1r F>
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .63=(o
3uV4/%U
struts.configuration w7FoL
The org.apache.struts2.config.Configuration implementation class 8Hi!kc;f6>
org.apache.struts2.config.Configuration接口名 ^rL_C}YBj-
EF#QH
_X
struts.configuration.files
%v+=;jw
A list of configuration files automatically loaded by Struts UL(
lf}M
struts自动加载的一个配置文件列表 j?6X1cM q
I9Eu',
struts.configuration.xml.reload Kc #|Z
Whether to reload the XML configuration or not ecj7BT[mLI
是否加载xml配置(true,false) 06 i;T~Y
N2ied^* 0
struts.continuations.package MV0Lq:# N
The package containing actions that use Rife continuations TJ(K3/)Z
含有actions的完整连续的package名称 7AwgJb hn
x({H{'9?
struts.custom.i18n.resources "0CjP+1k
Location of additional localization properties files to load rkB'Hf
加载附加的国际化属性文件(不包含.properties后缀) oFDz;6
S{#cD1>.
struts.custom.properties maNW{"1
Location of additional configuration properties files to load %g3,qI
加载附加的配置文件的位置 DWU`\9xA*
-oyO+1V
j}:~5 |.
struts.devMode :K':P5i
Whether Struts is in development mode or not t\4[``t
是否为struts开发模式 D)Q)NI
>\2:\wI
struts.dispatcher.parametersWorkaround kL>d"w
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @F~LW6K
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) x;LzG t:w
?+0GfIV
struts.enable.DynamicMethodInvocation J~#$J&iKh
Allows one to disable dynamic method invocation from the URL >?lOE
-}^
允许动态方法调用 qQ0C ?
C[uOReo
struts.freemarker.manager.classname kW@,$_cK
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~rD={&0
org.apache.struts2.views.freemarker.FreemarkerManager接口名 8X$LC
k|YWOy@D~
struts.i18n.encoding nV*y`.+
The encoding to use for localization messages 9Q;c,]
国际化信息内码 D)@XoM(
k5`OH8G
struts.i18n.reload j(rL
Whether the localization messages should automatically be reloaded &fOdlQ?
是否国际化信息自动加载 dRi5hC$
_oFs #kW
struts.locale p\p\q(S">
The default locale for the Struts application l?8M
p$M
默认的国际化地区信息 "TcW4U9
Ge+0-I6Ju
struts.mapper.class FV39QG4b4
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 4|?{VQ
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Oakb'
7.Kc:7
struts.multipart.maxSize "2?l{4T\
The maximize size of a multipart request (file upload) 23!;}zHp
multipart请求信息的最大尺寸(文件上传用) o|BP$P8V
hm*cw[#O1x
struts.multipart.parser 1oLv.L
The org.apache.struts2.dispatcher.multipart. 69K{+|
MultiPartRequest parser implementation for a multipart request (file upload) dXHB #
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) N|g;W
)~J>X{hy
kq=V4-a[
struts.multipart.saveDir FQz?3w&ia
The directory to use for storing uploaded files Kl{>jr8B3
设置存储上传文件的目录夹 zSEs?
`d]IX^;
struts.objectFactory cO2& VC
The com.opensymphony.xwork2.ObjectFactory implementation class 'XrRhF
(
com.opensymphony.xwork2.ObjectFactory接口(spring) 4+;$7"fJ
4mjgt<`
struts.objectFactory.spring.autoWire Y-mK+12
Whether Spring should autoWire or not LhXUm
是否自动绑定Spring lbdTQ6R
H9)m^*
struts.objectFactory.spring.useClassCache O,2~"~kF
Whether Spring should use its class cache or not i':i_kU
是否spring应该使用自身的cache cF)/^5Z
B+d<F[|
struts.objectTypeDeterminer {6 6sB{P
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class a ]Eg!Q
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 TjMe?p
h%; e0Xz|
struts.serve.static.browserCache dy__e ^qi
If static content served by the Struts filter should set browser caching header properties or not rl#vE's6.e
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 / $ :j
"@A![iP
struts.serve.static 0MMEo~dih
Whether the Struts filter should serve static content or not J7D}%
是否struts过滤器应该提供静态内容 f3j{V N
"gtHTqheH
struts.tag.altSyntax ^9OUzTF
Whether to use the alterative syntax for the tags or not >_dx_<75&
是否可以用替代的语法替代tags "xmP6=1
g"s$}5{8:
struts.ui.templateDir C?ib_K*
The directory containing UI templates 1"7Sy3
UI templates的目录夹 o%{'UG
)n49lr6X
struts.ui.theme {Gq*e/
The default UI template theme <ljI;xE
默认的UI template主题 %CwL:.|
2~[@_
struts.url.http.port *[ #;j$m
The HTTP port used by Struts URLs `@d<n
设置http端口 8$s9(n-_Y
j"^+oxH
struts.url.https.port znJhP}(
The HTTPS port used by Struts URLs /={Js*
设置https端口 j*"3t^|-
-9
!.m
struts.url.includeParams tWTKgbj(
The default includeParams method to generate Struts URLs 'i;|c
在url中产生 默认的includeParams R[z`:1lo
a,F&`Wg
l0&EZN0V2
struts.velocity.configfile J:uW`R
The Velocity configuration file path DFhXx6]
velocity配置文件路径 e^4 p%
sDr/k`>
struts.velocity.contexts dkgSvi :!
List of Velocity context names YprHwL
velocity的context列表 }+o:j'jB
MV_Srz
~DRmON5 M
struts.velocity.manager.classname "mL++>ZSQ
org.apache.struts2.views.velocity.VelocityManager implementation class )"zvwgaW
org.apache.struts2.views.velocity.VelocityManager接口名 73{'kK
Q9}dHIe1E
struts.velocity.toolboxlocation f/WQ[\<!I
The location of the Velocity toolbox iGB_{F~t4}
velocity工具盒的位置 ZyOv.,y
struts.xslt.nocache dm-pxE "
Whether or not XSLT templates should not be cached O#wpbrJ
是否XSLT模版应该被缓存 ,B4VT 96*