struts2的struts.properties配置文件详解 t hS#fO4]d
nwz}&nR
struts.action.extension r8@:Ko= a
The URL extension to use to determine if the request is meant for a Struts action sO6+L
#!
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4pF%G
7bTs+C_;7
struts.configuration 0evG
The org.apache.struts2.config.Configuration implementation class m(9E{;
org.apache.struts2.config.Configuration接口名 L-Z1Xs
1y>P<[
struts.configuration.files '*K/K],S]
A list of configuration files automatically loaded by Struts ,5<-\"{]
struts自动加载的一个配置文件列表 [3j]r{0I
iE$0-Qe[3
struts.configuration.xml.reload $)kIYM&
Whether to reload the XML configuration or not J)*y1
是否加载xml配置(true,false) 4H{L>e
i<-#yL5
struts.continuations.package @T1-0!TM')
The package containing actions that use Rife continuations MYLq2g\
含有actions的完整连续的package名称 4/HyO\?z5
ww=< =
struts.custom.i18n.resources _))_mxV{
Location of additional localization properties files to load n}a# b%e
加载附加的国际化属性文件(不包含.properties后缀) (xq25;|Y
YckexfL
struts.custom.properties N-lXC"{)
Location of additional configuration properties files to load 8^+Qn/b_%
加载附加的配置文件的位置 t:W`=^
c D7q;|+
$lUZm\R|k
struts.devMode lxV>
rmD
Whether Struts is in development mode or not qxk1Rzm?x
是否为struts开发模式 $vicxE~-E
O(CUwk
struts.dispatcher.parametersWorkaround C}wmoYikV
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic [S'ngQ"f`
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) m/CA
GT`:3L
struts.enable.DynamicMethodInvocation i_ I`Y
Allows one to disable dynamic method invocation from the URL UtY<R
允许动态方法调用 =U2`]50
z9E*Mh(NE
struts.freemarker.manager.classname u6|P)8?`
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class i
yMIP~N,$
org.apache.struts2.views.freemarker.FreemarkerManager接口名 pM.>u/=X
,f4Hl%T;
struts.i18n.encoding =p ^Sn,t
The encoding to use for localization messages DL<r2h
国际化信息内码 0lY.z$V
JoIffI?{(D
struts.i18n.reload -&%#R_RV
Whether the localization messages should automatically be reloaded BPtU]Bv-
是否国际化信息自动加载 n`;=^^ B
HtPasFrJ
struts.locale Lw1~$rZg
The default locale for the Struts application e*=N \$
默认的国际化地区信息 ,"5Fw4G6*
D<C ZhYJ
struts.mapper.class LeXuTd
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class P]1`=-
org.apache.struts2.dispatcher.mapper.ActionMapper接口 tBp dKJn##
JM@MNS_||(
struts.multipart.maxSize (khjP,
The maximize size of a multipart request (file upload) ;y
Wfb|!
multipart请求信息的最大尺寸(文件上传用) yIOoVi\m
\k;*Ej~.
struts.multipart.parser 7P|GKN~
The org.apache.struts2.dispatcher.multipart. g;D
[XBp
MultiPartRequest parser implementation for a multipart request (file upload) >a5CW~Z]
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) BbnY9"
~;9B\fE`
<Pg4>
struts.multipart.saveDir #'_i6
The directory to use for storing uploaded files R=_
fk
设置存储上传文件的目录夹 R 6ca;
*&^`Uk,[
struts.objectFactory $x)C_WZj?
The com.opensymphony.xwork2.ObjectFactory implementation class v=RQ"iv8
com.opensymphony.xwork2.ObjectFactory接口(spring) ^ dM,K
p
zkA"2dh
struts.objectFactory.spring.autoWire ;n?H/(6X8>
Whether Spring should autoWire or not DfXXN
是否自动绑定Spring .r[kNh@
b%
8fY1~\G:\
struts.objectFactory.spring.useClassCache [f!sBJ!
Whether Spring should use its class cache or not OjcxD5"v9
是否spring应该使用自身的cache =I-SQI8
:RBp
struts.objectTypeDeterminer 8F9sKRq|rO
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class c!d>6:\
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]_G!(`Udh
z
GhJ
struts.serve.static.browserCache rd vq(\A
If static content served by the Struts filter should set browser caching header properties or not lb{<}1YR0o
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 M[g9D
cNZuwS~,
struts.serve.static }uz*6Z(S
Whether the Struts filter should serve static content or not 0R z'#O32V
是否struts过滤器应该提供静态内容 /r^J8B*
A(S =
struts.tag.altSyntax 1O"7%Pvw
Whether to use the alterative syntax for the tags or not dj3}Tjt
是否可以用替代的语法替代tags .v?Ir)
\#?n'qyj
struts.ui.templateDir 7^>UUdk(
The directory containing UI templates 87.b7 b.
UI templates的目录夹 3C=ON.1eg
~G+o;N,V
struts.ui.theme vN=e1\
The default UI template theme wxYB-Wh<
默认的UI template主题 $[x2L
s~
zZ@]Kq;.s
struts.url.http.port
;nW#Dn9
The HTTP port used by Struts URLs (U#4j 6Q
设置http端口 A%qlB[!:
$ d? N("L
struts.url.https.port Hpo7diBE
The HTTPS port used by Struts URLs $k5mI1~
设置https端口 !$ItBn/_
}d?"i@[
struts.url.includeParams yhhW4rz
The default includeParams method to generate Struts URLs 4=^_ 4o2
在url中产生 默认的includeParams zGjf7VV2a
o&g-0!"
~"6/OJA
struts.velocity.configfile \3a(8Em
The Velocity configuration file path 'mx_]b^O
velocity配置文件路径 U{6i5;F#H
c((^l&
struts.velocity.contexts Vj(}'h-c\
List of Velocity context names !*JE%t
velocity的context列表 d}#G~O+y3v
kqxX!
4Y2l]86
struts.velocity.manager.classname 4Qh\3UL~
org.apache.struts2.views.velocity.VelocityManager implementation class p^S]O\;M7
org.apache.struts2.views.velocity.VelocityManager接口名 Ss ;C1:
9)N/J\b
struts.velocity.toolboxlocation .hd<,\nW
The location of the Velocity toolbox =
zJY5@^'7
velocity工具盒的位置 V bQ9o
struts.xslt.nocache }g6:9%ZMu
Whether or not XSLT templates should not be cached A&u"NgJ
是否XSLT模版应该被缓存 rWzw7T~