struts2的struts.properties配置文件详解 O eL}EVs8=
KgR<E
struts.action.extension QD%L0;j
The URL extension to use to determine if the request is meant for a Struts action <^$<#Kd
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 NB<A>baL*
2+X\}s1vN
struts.configuration *E{2J:`
The org.apache.struts2.config.Configuration implementation class \_B[{e7z
org.apache.struts2.config.Configuration接口名 %RDI!e<e}
Qca&E`~Q
struts.configuration.files 7NJhRz`_
A list of configuration files automatically loaded by Struts R+CM`4CD
struts自动加载的一个配置文件列表 O|w J)
nR`ov1RH
struts.configuration.xml.reload ;amXY@RmH
Whether to reload the XML configuration or not w}=5ElB
是否加载xml配置(true,false) &iV,W4
o^
XtU5SVq
struts.continuations.package []D@Q+1
The package containing actions that use Rife continuations 2p"WTd
含有actions的完整连续的package名称 p/h
Rk<K6
5L!y-3
struts.custom.i18n.resources tToTxf~
Location of additional localization properties files to load 7nuU^wc
加载附加的国际化属性文件(不包含.properties后缀) AnT3M.>ek
|6<p(i7
struts.custom.properties L`24?Y{
Location of additional configuration properties files to load J_;o|gqX
加载附加的配置文件的位置 ? YG)I;(
o]opdw
_]:z \TDn
struts.devMode #_u~/jhX
Whether Struts is in development mode or not Hhh0T>gi
是否为struts开发模式 KRA/MQ^7~U
_F`lq_C
struts.dispatcher.parametersWorkaround bcYF\@};
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 6H7],aMg$A
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 4#lo$#
!@v7Zu43,
struts.enable.DynamicMethodInvocation @mfEKU!
Allows one to disable dynamic method invocation from the URL ^f(@gS}?
允许动态方法调用 V 0rZz
4F{70"a
struts.freemarker.manager.classname GP#aya
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8e(\%bX
org.apache.struts2.views.freemarker.FreemarkerManager接口名 L+q/){Dd(
>:b Q
struts.i18n.encoding @/31IOIV]`
The encoding to use for localization messages ^-
d%r
国际化信息内码 -(=eM3o-9m
3p'I5,}
struts.i18n.reload Cid
;z
Whether the localization messages should automatically be reloaded GmP@;[H"
是否国际化信息自动加载 zO iu5
1Yn
+<I
struts.locale S.f5v8
The default locale for the Struts application Pjc
Tx +
默认的国际化地区信息 .qZI$
l.
f=9|b
struts.mapper.class qXwPDq/
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class &mx)~J^m
org.apache.struts2.dispatcher.mapper.ActionMapper接口 pS7w' H
Bf8jPa/
struts.multipart.maxSize v%iflCK
The maximize size of a multipart request (file upload) \:UIc*S
multipart请求信息的最大尺寸(文件上传用) @qYp>|AF
Uw7h=UQh
struts.multipart.parser ~
(jKz}'~U
The org.apache.struts2.dispatcher.multipart. MpR2]k#n<
MultiPartRequest parser implementation for a multipart request (file upload) HKUn`ng
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) b"{'T]"*j
N=7pK&NHSG
#n8IZ3+
struts.multipart.saveDir &*aIEa^
The directory to use for storing uploaded files 6g)GY"49
设置存储上传文件的目录夹 ,JQp'e
V]db'qB\
struts.objectFactory VB*oGG
The com.opensymphony.xwork2.ObjectFactory implementation class 2V#>)R#k
com.opensymphony.xwork2.ObjectFactory接口(spring) 6l:qD` _
Ob<{G"
struts.objectFactory.spring.autoWire TJR:vr
Whether Spring should autoWire or not
c$yk s
是否自动绑定Spring CTZ8Da^
O*FUTZd( J
struts.objectFactory.spring.useClassCache 7x%R:^*4
Whether Spring should use its class cache or not }WH&iES@P
是否spring应该使用自身的cache &n8_0|gK
d\gJ$ ~^K
struts.objectTypeDeterminer m3/O.DY%0
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [UWdW
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 9j6QX~,
)O@]uY
struts.serve.static.browserCache M# %a(Y3K)
If static content served by the Struts filter should set browser caching header properties or not NdD`Hn-
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 z)r=+ -
E;R n`oxk
struts.serve.static /~$WUAh
Whether the Struts filter should serve static content or not abfW[J
是否struts过滤器应该提供静态内容 /Y2}a<3&0
U ^5Kz-5.
struts.tag.altSyntax _ =VqrK7T
Whether to use the alterative syntax for the tags or not vkEiOFU!u
是否可以用替代的语法替代tags sW'2+|3"
T~##,qQ
struts.ui.templateDir ;"~
fZ2$U
The directory containing UI templates x#xFh0CA
UI templates的目录夹 :Ra,Eu
=*c7i]@}
struts.ui.theme .7avpOfz
The default UI template theme #PH~1`vl
默认的UI template主题 IS &ZqE(`e
NUWDc]@J*
struts.url.http.port ]\hSI){
The HTTP port used by Struts URLs NRIG 1v>
设置http端口 UMm!B `M
biU^[g("
struts.url.https.port -7@/[9Gf`:
The HTTPS port used by Struts URLs zGkS^Z=(
设置https端口 {CGUL|y
_C*fs<#
struts.url.includeParams @] DVD
The default includeParams method to generate Struts URLs }o?AP vd
在url中产生 默认的includeParams S79;^X
eoG$.M"
|Sy<@oq
struts.velocity.configfile )I^7)x
The Velocity configuration file path SBfT20z[
velocity配置文件路径 yDegcAn?
Kzm+GW3o[
struts.velocity.contexts AicBSqUke
List of Velocity context names 3yU.& k
velocity的context列表 (mTE;s(
~O
oidKT
5A3xVN=
struts.velocity.manager.classname 26I_YL,S
org.apache.struts2.views.velocity.VelocityManager implementation class g4=pnK8
org.apache.struts2.views.velocity.VelocityManager接口名 vZaZc}AyL
)f[
B6Y
struts.velocity.toolboxlocation = C8 ?M
The location of the Velocity toolbox EIf5(/jo
velocity工具盒的位置 kwo3`b
struts.xslt.nocache KyYM fC
Whether or not XSLT templates should not be cached gM
u"2I5
是否XSLT模版应该被缓存 t!W(_8j