struts2的struts.properties配置文件详解 YGf<!
eNX!EN(^
struts.action.extension 6h:2,h
pE
The URL extension to use to determine if the request is meant for a Struts action Av_JcH
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 g!DJW
YzVhNJWpw
struts.configuration ![j?/376
The org.apache.struts2.config.Configuration implementation class IcP\#zhEv
org.apache.struts2.config.Configuration接口名 &*8_ w-
6#(==}Sm+
struts.configuration.files Z=j6c"
A list of configuration files automatically loaded by Struts o3=pxU*
struts自动加载的一个配置文件列表 ~"nF$DB
6-J%Z%yT #
struts.configuration.xml.reload 6g&Ev'
Whether to reload the XML configuration or not 'Uu!K!
是否加载xml配置(true,false) )4e?-?bK!
AS'%Md&I
struts.continuations.package Ws*UhJY<GS
The package containing actions that use Rife continuations =a^}]k}
含有actions的完整连续的package名称 :.aMhyh#*
p;n"zr8U
struts.custom.i18n.resources 2v?fbrC5c
Location of additional localization properties files to load
{Bw
加载附加的国际化属性文件(不包含.properties后缀) (rm*KD"]
M2lvD&
struts.custom.properties yr/G1?k%ML
Location of additional configuration properties files to load S^T
><C
加载附加的配置文件的位置 ]-"G:r
f O ,5
u;
2rPmu
struts.devMode H<Ik.]m
Whether Struts is in development mode or not M)1Y7?r]
是否为struts开发模式 ~EtwX YkRZ
x>$e*
struts.dispatcher.parametersWorkaround ]+A%37
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Wmc@:
(n
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) p(Ux]_s%
\45F;f_r6
struts.enable.DynamicMethodInvocation ???` BF[|
Allows one to disable dynamic method invocation from the URL zv0bE?W9
允许动态方法调用 1s/548wu
IRyZ0$r:e\
struts.freemarker.manager.classname %8{nuq+c
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class wl7 (|\-
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ApNS0
B-UsMO
struts.i18n.encoding .C,D;T{
The encoding to use for localization messages `Vl9/IEk
国际化信息内码 YJu~iQ`i
{;vLM*
'
struts.i18n.reload SNtk1pG>
Whether the localization messages should automatically be reloaded <NWq03:&
是否国际化信息自动加载 ZXl_cq2r
Hg5:>?Lw@
struts.locale ]Bj2; <@y
The default locale for the Struts application LS]0 p#
默认的国际化地区信息 $Da?)Hz'F
S`8Iu[Ma
struts.mapper.class o3YW(%cYR
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .F},Z[a&
org.apache.struts2.dispatcher.mapper.ActionMapper接口 [h63* &
Z7XFG&@6
struts.multipart.maxSize gVNoC-n)
The maximize size of a multipart request (file upload) F.),|t$\
multipart请求信息的最大尺寸(文件上传用) s@IgaF {
Z\3~7Ek2m
struts.multipart.parser &EmG\vfE
The org.apache.struts2.dispatcher.multipart. {B-*w%}HU
MultiPartRequest parser implementation for a multipart request (file upload) T>68 ,; p
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,&.$r/x|?
>#VNA^+t
C),i#v
struts.multipart.saveDir Z+=M_{`{
The directory to use for storing uploaded files lg
+ >.^7k
设置存储上传文件的目录夹 R*/s#*gmL
< 1[K1'7h
struts.objectFactory sGa}Cf;H@g
The com.opensymphony.xwork2.ObjectFactory implementation class Ad&VOh+0
com.opensymphony.xwork2.ObjectFactory接口(spring) 3$ wK*xK
CEW1T_1U<\
struts.objectFactory.spring.autoWire LXqPNVp#
Whether Spring should autoWire or not A `{hKS
是否自动绑定Spring }O Y/0p-Z
X,{ 3_
struts.objectFactory.spring.useClassCache X|-[i hp;
Whether Spring should use its class cache or not RqX^$C8M
是否spring应该使用自身的cache 0j;q^>
yd=b!\}WJ
struts.objectTypeDeterminer *3)kr=x
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class z]7 /Gc,j
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 E>+>!On)b
yzT4D>1,
struts.serve.static.browserCache !2h ZtX
If static content served by the Struts filter should set browser caching header properties or not MU%7'J :_
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "}V_.I*+
1ktxG1"1
struts.serve.static $<yhEvv
Whether the Struts filter should serve static content or not Q':hmulT!
是否struts过滤器应该提供静态内容 6$[7hlE
U*b7 Pxq;
struts.tag.altSyntax Z?xRSi2~7
Whether to use the alterative syntax for the tags or not IVY)pS"pR"
是否可以用替代的语法替代tags @{W"mc+
R0%M9;>1
struts.ui.templateDir AmC?qoEWQ7
The directory containing UI templates zy5FO<->
UI templates的目录夹 n*Uk<_WA
.G#li(NWH
struts.ui.theme 3~VV2O
The default UI template theme bF6J>&]!
默认的UI template主题 }wkY`"
<v'&Pk<
struts.url.http.port )U=]HpuzI
The HTTP port used by Struts URLs sM+~x<}0
设置http端口 Ek1c >s,t
AgZ?Ry
struts.url.https.port GC:q6}
The HTTPS port used by Struts URLs N<1+aL\
设置https端口 <Se9aD
\5 rJ
struts.url.includeParams Z"RgqNf
The default includeParams method to generate Struts URLs *~>p;*
在url中产生 默认的includeParams X'-Yz7J?o
X
=%8*_
4hODpIF
struts.velocity.configfile SiUu**zC
The Velocity configuration file path yOt#6Vw
velocity配置文件路径 Fn7OmxfD
Qn,6s%n
struts.velocity.contexts ZP5 !O[Ut
List of Velocity context names IzJq:G.
velocity的context列表 B0%=! &
[orL.D]
[iEz?1.,
struts.velocity.manager.classname }zx
~
org.apache.struts2.views.velocity.VelocityManager implementation class >=|p30\b
org.apache.struts2.views.velocity.VelocityManager接口名 ;0Pv49q
Lm=;Y6'`N
struts.velocity.toolboxlocation Mx$&{.LFJ
The location of the Velocity toolbox Xh>($ U
velocity工具盒的位置 ?:ZB'G{%E
struts.xslt.nocache ykx^RmD`~
Whether or not XSLT templates should not be cached marZA'u%B1
是否XSLT模版应该被缓存 50j8+xJPV