struts2的struts.properties配置文件详解 7a4b,-93
eVVm"96Q.;
struts.action.extension \+STl#3*q
The URL extension to use to determine if the request is meant for a Struts action (}|QSf:
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,dG2[<?o
)<vU F]e~
struts.configuration ,xJ1\_GI`
The org.apache.struts2.config.Configuration implementation class ~ e4Pj`?=K
org.apache.struts2.config.Configuration接口名 j>?0Y
"|\G[xLOaW
struts.configuration.files u$"dL=s!
A list of configuration files automatically loaded by Struts C_RxJWka
struts自动加载的一个配置文件列表 **%/Ke[
k6pXc<]8
struts.configuration.xml.reload vwlPFrLl
Whether to reload the XML configuration or not dCF!.
是否加载xml配置(true,false) xP3v65Q1
*A>I)a<:
struts.continuations.package QNk\y@yKw
The package containing actions that use Rife continuations .BWCGb2bH
含有actions的完整连续的package名称 Do3g^RD#
ZP]l%6\.
struts.custom.i18n.resources <ah!!
Location of additional localization properties files to load BaLvlB
加载附加的国际化属性文件(不包含.properties后缀) RbY=OOQ
|@rPd=G^(/
struts.custom.properties ep<O?7@j-G
Location of additional configuration properties files to load ["N)=d|LS
加载附加的配置文件的位置 Td7=La0
:dZq!1~t
EqN_VT@
struts.devMode RP"YSnF3
Whether Struts is in development mode or not CPw=?<db
是否为struts开发模式 m~LB0u$ac
4l7FV<g
struts.dispatcher.parametersWorkaround zJ*|tw4
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic u Z(vf
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) r fl-(_3
@-7h}2P Q
struts.enable.DynamicMethodInvocation )YB@6TiD
Allows one to disable dynamic method invocation from the URL 6eUM[C.
允许动态方法调用 {GTOHJ2
E>bK-jG
struts.freemarker.manager.classname bpQ5B'9
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class r&u&$"c
org.apache.struts2.views.freemarker.FreemarkerManager接口名 }bW"Z2^nB
!c;Z<@
struts.i18n.encoding #LGAvFA*_F
The encoding to use for localization messages fO;#;p.
国际化信息内码 7kQZ$sLc
Ic%c%U=i
struts.i18n.reload 2=&4@c|cn
Whether the localization messages should automatically be reloaded Stzv
是否国际化信息自动加载 Z|8oD*,
WB:NV=&^
struts.locale 4H<@da}
The default locale for the Struts application 8 f""@TTp
默认的国际化地区信息 vS!%!-F
7_HJ|QB
struts.mapper.class Y5 BWg
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class gJkk0wokC
org.apache.struts2.dispatcher.mapper.ActionMapper接口 W'>"E/Tx#O
yJ\K\\]
struts.multipart.maxSize *?'^Rc
The maximize size of a multipart request (file upload) V<ZohB?y
multipart请求信息的最大尺寸(文件上传用) K,!"5W rX*
W+F^(SC\
struts.multipart.parser u9TiEEof3
The org.apache.struts2.dispatcher.multipart. 6
J&_H(^
MultiPartRequest parser implementation for a multipart request (file upload) D8`dEB2|S
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) N^ )\+*tf1
d)_fI*:f
m0: IFE($
struts.multipart.saveDir XM9}ax
The directory to use for storing uploaded files oi@hZniP?
设置存储上传文件的目录夹 !9 B`
O}Ipg[h
struts.objectFactory xnBU)#<]S
The com.opensymphony.xwork2.ObjectFactory implementation class 9`A}-YA!
com.opensymphony.xwork2.ObjectFactory接口(spring) 7S
+YQ$_
tAI<[M@
struts.objectFactory.spring.autoWire D 7D:?VoR
Whether Spring should autoWire or not W^es"\
是否自动绑定Spring 5uVSbo.
7K 8tz}
struts.objectFactory.spring.useClassCache j}uVT2ZE%
Whether Spring should use its class cache or not *J ]2"~_.
是否spring应该使用自身的cache Ju0W
?)8OC(B8q
struts.objectTypeDeterminer yX-h|Cr"
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class s+EJXoxw
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 H pZD^h?L
MJ=(rp=YU9
struts.serve.static.browserCache _iJ8*v8A
If static content served by the Struts filter should set browser caching header properties or not jD`p;#~8
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 kp{q5J6/
;tBc&LJ?
struts.serve.static Lrr1) h
Whether the Struts filter should serve static content or not
$Ur-Q d
是否struts过滤器应该提供静态内容 wM]j#
O&]P
u5
struts.tag.altSyntax ,?'":T1[
Whether to use the alterative syntax for the tags or not 4axc05
是否可以用替代的语法替代tags ceW,A`J
F2B9Q_>P
struts.ui.templateDir w7(jSPB
The directory containing UI templates 1x"S^j
UI templates的目录夹 I6q]bQ="
(jV_L1D
struts.ui.theme "@!B"'xg
The default UI template theme o
0-3[W'x<
默认的UI template主题 QR.] ?t;1
{JJq/[j
struts.url.http.port 1 2Lc$\3P
The HTTP port used by Struts URLs I6jDRC0<
设置http端口 ?3I93Bt7
9XH}/FcP_O
struts.url.https.port 82EH'C
The HTTPS port used by Struts URLs =;) M+"
设置https端口 ogOUrJ}P
QSaJb?I
struts.url.includeParams wDL dmrB
The default includeParams method to generate Struts URLs <9BM%
在url中产生 默认的includeParams jt*VD>ji
l$>))cW!
J:N4F.o&K
struts.velocity.configfile 0~)_/yx?S
The Velocity configuration file path XOdkfmc+s'
velocity配置文件路径 v>4kF _N
]0g$3
struts.velocity.contexts jkN-(v(T
List of Velocity context names +Kw&XRAd
velocity的context列表 AUan^Om
r"%uP[H
UP8=V>T02
struts.velocity.manager.classname h
rksPK"s2
org.apache.struts2.views.velocity.VelocityManager implementation class |t1ij'N
org.apache.struts2.views.velocity.VelocityManager接口名 S7I8BS[*v
w
b@Zna
struts.velocity.toolboxlocation Sh]g]xR
The location of the Velocity toolbox U1.w%b,
velocity工具盒的位置 #fuc`X3:HL
struts.xslt.nocache >z,SN
Whether or not XSLT templates should not be cached o#X=1us
是否XSLT模版应该被缓存 *Dz<Pi^