struts2的struts.properties配置文件详解 '*rS,y
Nh^I{%.x
struts.action.extension !9$}1_,is
The URL extension to use to determine if the request is meant for a Struts action db_?da;!`
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 R0*P,~L;|
U9b[t
struts.configuration exiu;\+j
The org.apache.struts2.config.Configuration implementation class SUMfebW5
org.apache.struts2.config.Configuration接口名 {[Ri:^nHgL
%gFIu.c
struts.configuration.files l6w\E=K
A list of configuration files automatically loaded by Struts >\pF5a`
struts自动加载的一个配置文件列表 %u&Vt"6m=
Qfy_@w]
struts.configuration.xml.reload z,m3U(
Whether to reload the XML configuration or not _oBx:G6E
是否加载xml配置(true,false) ]] 0 M
eF{uWus
struts.continuations.package v+Y^mV`|
The package containing actions that use Rife continuations AU`z.Isf
含有actions的完整连续的package名称 E8sM`2z5
af>i
struts.custom.i18n.resources L,#YP#O,j
Location of additional localization properties files to load rqN+0CT
加载附加的国际化属性文件(不包含.properties后缀) |z_Dw$-xm
5 cQ]vb
struts.custom.properties jmv=rl>E*
Location of additional configuration properties files to load J0R{|]W8
加载附加的配置文件的位置 @aUNyyVP
F1$XUos9
,WOCG2h
struts.devMode {{P 3Z[
Whether Struts is in development mode or not =#9#unvE!
是否为struts开发模式 qG
20
}#e=*8F7
struts.dispatcher.parametersWorkaround _^b\#Jz4U3
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }6%\/d1~ 6
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) t-C|x)J+
]Bf1p
struts.enable.DynamicMethodInvocation >E4,zs@7t
Allows one to disable dynamic method invocation from the URL Y)]VlV!`
允许动态方法调用 C/N;4
[O_5`X9|
struts.freemarker.manager.classname k CGb~+
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ATc!c +
org.apache.struts2.views.freemarker.FreemarkerManager接口名 uQ[,^Ee&/
]SU)L5Dt;
struts.i18n.encoding }\8-&VoY#X
The encoding to use for localization messages 6o6yx:
国际化信息内码 fI0"#iv}
|?0MRX0'g
struts.i18n.reload p.(+L^-=
Whether the localization messages should automatically be reloaded 0H +nVR
是否国际化信息自动加载 Rh"O$K~
_$IWr)8f
struts.locale zB+e;x f |
The default locale for the Struts application )3e_Hs+
默认的国际化地区信息 oupWzjo
yxpv;v:)=
struts.mapper.class 5,f`5'$
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class o!+'<IQ'
org.apache.struts2.dispatcher.mapper.ActionMapper接口 wo(O+L/w
+ XBF,<P
struts.multipart.maxSize A ?V-Sz#
The maximize size of a multipart request (file upload) v
))`U,Gm
multipart请求信息的最大尺寸(文件上传用) {RI^zNgs[
)_ !a:
struts.multipart.parser S#p_Y^A
The org.apache.struts2.dispatcher.multipart. z0ufLxq
MultiPartRequest parser implementation for a multipart request (file upload) 5D7 L)>
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) x@oxIXN
C "@>NC_
PuZzl%i
P3
struts.multipart.saveDir b+whZtNk7
The directory to use for storing uploaded files ip'{@1L
设置存储上传文件的目录夹 #X*);cn
^hZ0"c
struts.objectFactory /K!f3o+
The com.opensymphony.xwork2.ObjectFactory implementation class [Pp#r&4H
com.opensymphony.xwork2.ObjectFactory接口(spring) *!`&+w
X{!,j}
struts.objectFactory.spring.autoWire R'B_YKHBY
Whether Spring should autoWire or not `/R. 5;$|
是否自动绑定Spring z$m(@Q
w0$+v/
struts.objectFactory.spring.useClassCache zpf<!x^
Whether Spring should use its class cache or not Wy6a4oY
是否spring应该使用自身的cache 4`oKvL9
=(TMcu$4`
struts.objectTypeDeterminer ckP AH E@
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class @Q ~;@M
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 It/'R-H
7W4m&+
struts.serve.static.browserCache M9Sj@ ww
If static content served by the Struts filter should set browser caching header properties or not 8#A4B2
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \A\?7#9\
d<OdQvW.
struts.serve.static qu$FpOJ
Whether the Struts filter should serve static content or not kl1Q:
是否struts过滤器应该提供静态内容 {GT5
h|'|n/F
struts.tag.altSyntax _M7|:*
Whether to use the alterative syntax for the tags or not 'cS| BT
是否可以用替代的语法替代tags Xu#?Lw
|)jR|8MAE
struts.ui.templateDir ircL/:
The directory containing UI templates qPDRB.K|}
UI templates的目录夹 RlvvO
T&S=/cRBK}
struts.ui.theme ^e]O
>CJ
The default UI template theme MoiRAO
默认的UI template主题 +Gy9K
FR'Nzi$
struts.url.http.port ia
/#`#.
The HTTP port used by Struts URLs QjpJIw
设置http端口 _RzoXn{1e
Imzh`SI,
struts.url.https.port a ge8I$*`@
The HTTPS port used by Struts URLs I=[0 9o
设置https端口 *&_A4)
69ycP(
struts.url.includeParams 9w&CHg7D
i
The default includeParams method to generate Struts URLs r_bG+iw7p
在url中产生 默认的includeParams 7bGt'gvv
r0&LjH&R
(C`nBiL<
struts.velocity.configfile %t9Kc9u3p
The Velocity configuration file path ^-~=U^2tC
velocity配置文件路径 2|RxowXZ"
^l
;Bo3^_
struts.velocity.contexts SZtSUt(ss
List of Velocity context names "=40%j0
velocity的context列表 5mudww`
_E-{*,7bZS
-g9CW[
struts.velocity.manager.classname qOyS8tA.H
org.apache.struts2.views.velocity.VelocityManager implementation class 6oq^n
s-
org.apache.struts2.views.velocity.VelocityManager接口名 "J}B
lB
m\
qR myO
struts.velocity.toolboxlocation u0[O /G
The location of the Velocity toolbox j[$+DCO#|m
velocity工具盒的位置 b=W kRj
struts.xslt.nocache kwS[,Qy\
Whether or not XSLT templates should not be cached dKchQsgCg
是否XSLT模版应该被缓存 q~AvxO