struts2的struts.properties配置文件详解 :9f 9Z7M
Kx02 2rgDU
struts.action.extension YmD~&J
The URL extension to use to determine if the request is meant for a Struts action +/ ?oyC+Z
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 E:Ul_m8
oiOu169]
struts.configuration (_AU)
The org.apache.struts2.config.Configuration implementation class C!Jy;Z=+u
org.apache.struts2.config.Configuration接口名 A<IV"bo
:-$TD('F
struts.configuration.files ?}HZJ@:lB
A list of configuration files automatically loaded by Struts @(IA:6GN
struts自动加载的一个配置文件列表 2 SU
<?%49
struts.configuration.xml.reload z{/#/,V5D4
Whether to reload the XML configuration or not k ~4o`eA
是否加载xml配置(true,false) pm2]
?
M.'YB2
struts.continuations.package BwAmNW&i
The package containing actions that use Rife continuations Nz:p(X!
含有actions的完整连续的package名称 vhzz(UPUt
),H1z`c&I
struts.custom.i18n.resources ,{_56j^d,
Location of additional localization properties files to load @u`m6``T
加载附加的国际化属性文件(不包含.properties后缀) Oj8D+sC{
8( Q[A
struts.custom.properties >^SQrB
Location of additional configuration properties files to load U+aiH U9
加载附加的配置文件的位置 7Kpv fyL{
jI~$iDdOfs
qDgy7kkQ
struts.devMode S5r.so
Whether Struts is in development mode or not {kvxz
是否为struts开发模式 JW"`i
1GPBqF
struts.dispatcher.parametersWorkaround 93=?^
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >h.HW
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~du U& \
OTNI@jQ)
struts.enable.DynamicMethodInvocation =CO'LyG
Allows one to disable dynamic method invocation from the URL `aA)n;{/2u
允许动态方法调用 (M{>9rk8
-Rx;"J.H
struts.freemarker.manager.classname O\6gw$
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class uMRzUK`QK
org.apache.struts2.views.freemarker.FreemarkerManager接口名 "sWsK
%
Fl*<N
struts.i18n.encoding 24wr=5p]Q
The encoding to use for localization messages Eo6qC?5<
国际化信息内码 h92KU
qyh]v [
struts.i18n.reload 4vNH"72P
Whether the localization messages should automatically be reloaded vP\6=71Y
是否国际化信息自动加载 7 4&{GCL
h")7kjM
struts.locale -$49l
The default locale for the Struts application F{_,IQ]U
默认的国际化地区信息 B>sQcZ:
{s8g;yU5
struts.mapper.class h"'}Z^
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Vv+ oq5hf
org.apache.struts2.dispatcher.mapper.ActionMapper接口 `?f<hIJoz
`u_k?)lK
struts.multipart.maxSize lkC| g%f
The maximize size of a multipart request (file upload) IkxoW:L
multipart请求信息的最大尺寸(文件上传用) -B(p8 YH
HrMbp
struts.multipart.parser AYfe_Dj
The org.apache.struts2.dispatcher.multipart. N vTp1kI]
MultiPartRequest parser implementation for a multipart request (file upload) ^:,wk7
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) l3/Cj^o4
*SlWA)9Y
;jO+<~YP!
struts.multipart.saveDir u9u'5xAO
The directory to use for storing uploaded files J6ed
设置存储上传文件的目录夹 p["pGsf
LabI5+g
struts.objectFactory .F[5{XV
The com.opensymphony.xwork2.ObjectFactory implementation class k_?~@G[I
com.opensymphony.xwork2.ObjectFactory接口(spring) wDW/?lT&
?^LG>GgV
struts.objectFactory.spring.autoWire Xq "Es
Whether Spring should autoWire or not XQmg^x[,A
是否自动绑定Spring 8@|{n`n]
*)oBE{6D
struts.objectFactory.spring.useClassCache !89hO4 0r
Whether Spring should use its class cache or not G({VK
是否spring应该使用自身的cache q'IMt7}
~=<uYv?0s
struts.objectTypeDeterminer |cC&,8O:{
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class _1WA:7$C
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 J aJ/|N
0}|%pmY`
struts.serve.static.browserCache t**d{P+
If static content served by the Struts filter should set browser caching header properties or not 0%,?z`UY
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 yS3or(K
2MW7nIEs
struts.serve.static }]<|`FNc
Whether the Struts filter should serve static content or not Nus]]Iy-g
是否struts过滤器应该提供静态内容 7Jz9%iP
]86*k%A
struts.tag.altSyntax ,DEcCHr,
Whether to use the alterative syntax for the tags or not 8:0,jnS
是否可以用替代的语法替代tags ikb77?.
<'BsQHI
struts.ui.templateDir x5rLGt
The directory containing UI templates rj?c
UI templates的目录夹 bQ&%6'ck
E]S:F3
struts.ui.theme s?4nR:ZC}
The default UI template theme 'Asr,[]?
默认的UI template主题 ^+k= ;nl
NW*#./WdF8
struts.url.http.port m'k>U4
The HTTP port used by Struts URLs ~dP\0x0AB
设置http端口 rhly.f7N=A
;vbMC74J#
struts.url.https.port CC3M7|eO3
The HTTPS port used by Struts URLs oq|`;k
设置https端口 koE]\B2A6
wm9wnAy
struts.url.includeParams "=JE12=u
The default includeParams method to generate Struts URLs {)
sE;p-
在url中产生 默认的includeParams %az6\"n
m}S}fH(
|WfL'_?$
struts.velocity.configfile PSX
o"
The Velocity configuration file path X\i;j!;d
velocity配置文件路径 " SP6o
Gvvw:]WgF
struts.velocity.contexts [,MK)7DU
List of Velocity context names zE?dQD^OD
velocity的context列表 LnsYtkbr
\'iy(8i
p{``a=
struts.velocity.manager.classname K@
&;f(Y
org.apache.struts2.views.velocity.VelocityManager implementation class .b^!f<j
org.apache.struts2.views.velocity.VelocityManager接口名 E\cX
o)DO[
struts.velocity.toolboxlocation '#.D`9YI<
The location of the Velocity toolbox uY/CiTWr
velocity工具盒的位置 i->G{_gH
struts.xslt.nocache W
)Ps2
Whether or not XSLT templates should not be cached GhjqStjS&l
是否XSLT模版应该被缓存 jB0Ts;5