struts2的struts.properties配置文件详解 E=QQZ\w
19t*THgq
struts.action.extension Uf<vw3
The URL extension to use to determine if the request is meant for a Struts action ?rDwYG(u]@
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 xL"%2nf
M2S|$6t:
struts.configuration FM)*>ax{
The org.apache.struts2.config.Configuration implementation class ~-%A@Lt
org.apache.struts2.config.Configuration接口名 :\OvVS/
Y5CE#&
struts.configuration.files AlxS?f2w
A list of configuration files automatically loaded by Struts U*TN/6Qy.
struts自动加载的一个配置文件列表 5XHkRcESZ
Y ckbc6F
struts.configuration.xml.reload U;@jl?jnG
Whether to reload the XML configuration or not ($W 5fbu
是否加载xml配置(true,false) ;I'/.gW;{
B vc=gW
struts.continuations.package K;y\&'E
The package containing actions that use Rife continuations L#Y;a
5b
含有actions的完整连续的package名称 }0RFo96)v
!?/bK[
P,
struts.custom.i18n.resources bicL%I2h
Location of additional localization properties files to load "r"An"
加载附加的国际化属性文件(不包含.properties后缀) !ei20@
,?6m"ov4(
struts.custom.properties iGk{8Da<
Location of additional configuration properties files to load @\8gzvkt
加载附加的配置文件的位置 VH6|(=8
-RQQ|:O$
=_J<thp
struts.devMode
G\ZRNb
Whether Struts is in development mode or not 1I_q3 {
是否为struts开发模式 KBe {
!\O,dq
struts.dispatcher.parametersWorkaround {{%8|+B
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \#,#_
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9z/_`Xd_
12xP)*:$
struts.enable.DynamicMethodInvocation $yFuaqG`Wo
Allows one to disable dynamic method invocation from the URL NV4W2thYo
允许动态方法调用 bnu0*Zg>
K0=E4>z,`q
struts.freemarker.manager.classname NOp=/
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class #@s~V<rW
org.apache.struts2.views.freemarker.FreemarkerManager接口名 `Kw8rG\]:
72vGfT2HtZ
struts.i18n.encoding vcU\xk")
The encoding to use for localization messages l]y%cJ~$'D
国际化信息内码 G0Tc}_o<Y
0a6z"K}
struts.i18n.reload kdPm # $-
Whether the localization messages should automatically be reloaded !&jgcw/E
是否国际化信息自动加载 (G%gVk]
6 Ok=q:;
struts.locale 6ilC#yyp
The default locale for the Struts application LEnP"o9ZW
默认的国际化地区信息 R&_\&:4f
0+y~RTAVB
struts.mapper.class FK >8kC
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class h]DECd{
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Is6 _
~w9=Fd6
struts.multipart.maxSize #33RhJu5,
The maximize size of a multipart request (file upload) ^*ezj1
multipart请求信息的最大尺寸(文件上传用) bok 74U]
}cK~=@7tK
struts.multipart.parser
R{KIkv
The org.apache.struts2.dispatcher.multipart. -hFyqIJW
MultiPartRequest parser implementation for a multipart request (file upload) AD%D ,l
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) xP6?e s`
ig_<kj;Vd
5~%,u2
struts.multipart.saveDir "zIq)PY
The directory to use for storing uploaded files =>ztB w\
设置存储上传文件的目录夹 b
hr E
#!u51P1
struts.objectFactory N|O]z
The com.opensymphony.xwork2.ObjectFactory implementation class [H:GKhPC`
com.opensymphony.xwork2.ObjectFactory接口(spring) >"<k8wn
CL'Xip')T
struts.objectFactory.spring.autoWire ^0tf1pV2
Whether Spring should autoWire or not -0VA!3l
是否自动绑定Spring Q$h:[_v
|~bR.IA
struts.objectFactory.spring.useClassCache $FusDdCv3
Whether Spring should use its class cache or not P&%eIgAOL
是否spring应该使用自身的cache hN_f h J
#W%)$kc
struts.objectTypeDeterminer 7}cDGdr
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class )dIfr
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 oS#'u1k
=GKS;d#/
struts.serve.static.browserCache o%WjJ~!zL
If static content served by the Struts filter should set browser caching header properties or not d=Df.H+3
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ig2+XR#%
^>X)"'0+
struts.serve.static .Y(lB=pV
Whether the Struts filter should serve static content or not Gl8&FrR
是否struts过滤器应该提供静态内容 7*>S;$
w &|R5Q
struts.tag.altSyntax PwB g
Whether to use the alterative syntax for the tags or not K4k~r!&OU
是否可以用替代的语法替代tags 5`E`Kb+@
>^yc=mM(g3
struts.ui.templateDir Rj}o4s2x
The directory containing UI templates )W1(tEq59
UI templates的目录夹 %h" qMs S
cZgMA8
F
struts.ui.theme 7Y32p'
The default UI template theme HUJ|-)"dw
默认的UI template主题 a;"Uz|rz
;n}
>C' :
struts.url.http.port dCZ\ S91q
The HTTP port used by Struts URLs yOWOU`y?
设置http端口 ^Ue0mC7m
MCk^Tp!
struts.url.https.port 6X7s 4
The HTTPS port used by Struts URLs kG)2%
设置https端口 y !<'rg
?C
&x/2lt
struts.url.includeParams [IX*sr
The default includeParams method to generate Struts URLs s) Cpi
在url中产生 默认的includeParams IS[Vap:
l#D-q/k?
4E=0qbt8
struts.velocity.configfile U_}7d"<| ?
The Velocity configuration file path nW4Vct
velocity配置文件路径 {~"7vkc+
~{L.f94N
struts.velocity.contexts 9W*.lf
List of Velocity context names YC]PN5[1!
velocity的context列表 x*.Ye5Jb
],8;eq%W)
5kcJ
struts.velocity.manager.classname ,>;!%Ui/p
org.apache.struts2.views.velocity.VelocityManager implementation class HWqLcQ d:P
org.apache.struts2.views.velocity.VelocityManager接口名 NSw<t9Yi
31~hlp;
struts.velocity.toolboxlocation _6;<ow
The location of the Velocity toolbox 9Z&?R++?
velocity工具盒的位置 Hu[]h]
struts.xslt.nocache v btAq^1
Whether or not XSLT templates should not be cached hM~eJv
是否XSLT模版应该被缓存 BBcj=]"_