struts2的struts.properties配置文件详解 1+~JGY#
e^&QT
struts.action.extension +0rMv
The URL extension to use to determine if the request is meant for a Struts action dIQ7u
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6F6[w?
l+Dl~o}
struts.configuration 7}OzTup
The org.apache.struts2.config.Configuration implementation class bj\v0NKN4
org.apache.struts2.config.Configuration接口名 7?-eR-
blNE$X+0|
struts.configuration.files $e&( ncM
A list of configuration files automatically loaded by Struts l>`N+ pZ$
struts自动加载的一个配置文件列表 R $HIJM
j/4N
struts.configuration.xml.reload )8kcOBG^L
Whether to reload the XML configuration or not }YW0?-G.$
是否加载xml配置(true,false) ,Dfq%~:grT
E1IRb':
struts.continuations.package A ${b]
The package containing actions that use Rife continuations kq6S`~J^R
含有actions的完整连续的package名称 D
M(WYL{
_P
0,UgZz
struts.custom.i18n.resources F,Y@
Location of additional localization properties files to load +Mc kR
加载附加的国际化属性文件(不包含.properties后缀) vpcHJ^19
wUWSW<
struts.custom.properties P*oKcq1R
Location of additional configuration properties files to load gYVk5d|8@4
加载附加的配置文件的位置 GE]fBg
#/$}zl
["- pylhK
struts.devMode ;j])h!8X
Whether Struts is in development mode or not k@JDG]R<{
是否为struts开发模式 Mez;DKJ`
&dF$:$'s
struts.dispatcher.parametersWorkaround Rn~FCj,-
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5W"nn
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) mA}-hR%
^29w@*
struts.enable.DynamicMethodInvocation i/9QOw~
Allows one to disable dynamic method invocation from the URL j2# nCU54Z
允许动态方法调用 :#0uy1h
u3vBMe0v[
struts.freemarker.manager.classname Nr=ud QA{
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;v'7l>w3\w
org.apache.struts2.views.freemarker.FreemarkerManager接口名 .CdaOWM7
4J0{$Xuu0
struts.i18n.encoding ?P@fV'Jo
The encoding to use for localization messages ztf
VXmi'
国际化信息内码 C`+g:qT
XIh2Y\33ys
struts.i18n.reload vn|u&}h
Whether the localization messages should automatically be reloaded drP2%u
是否国际化信息自动加载 Yr5A,-s
+]uW|owxo
struts.locale LuY`mi
The default locale for the Struts application ?Y+xuY/t
默认的国际化地区信息 jK/2n}q&]
H1_XEcaM+*
struts.mapper.class s|rlpd4y
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class z!;n\CV @
org.apache.struts2.dispatcher.mapper.ActionMapper接口 8*kZ.-T
B
!|_b}/
struts.multipart.maxSize *cxmQ
The maximize size of a multipart request (file upload) tt%Zwf
multipart请求信息的最大尺寸(文件上传用) q4{Pm $OW
# eqt{
struts.multipart.parser vl*CU"4
The org.apache.struts2.dispatcher.multipart.
RR!(,j^M
MultiPartRequest parser implementation for a multipart request (file upload) '$pT:4EuGq
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `}.K@17
h=SQ]nV{
1MHP#X;|
struts.multipart.saveDir m6^Ua
The directory to use for storing uploaded files X).UvPZ/
设置存储上传文件的目录夹 35z]pn%L
w]GoeIg({
struts.objectFactory yi<&'L;
The com.opensymphony.xwork2.ObjectFactory implementation class r \H+=2E'
com.opensymphony.xwork2.ObjectFactory接口(spring) Uo v%12
Mm`jk%:%]
struts.objectFactory.spring.autoWire au7%K5
Whether Spring should autoWire or not .+>w0FG.
是否自动绑定Spring g]85[xz
)hmU/E@
struts.objectFactory.spring.useClassCache geU-T\1[l
Whether Spring should use its class cache or not i3t=4[~oL
是否spring应该使用自身的cache LSb3w/3M
{PgB~|W
struts.objectTypeDeterminer r)Ts(#Z
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class } Uki)3(
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 r|4jR6%<'m
BM=`zGh"
struts.serve.static.browserCache t^ LXGQ
If static content served by the Struts filter should set browser caching header properties or not c_c]0Tm
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;tTM3W-h
,!t1( H
struts.serve.static B04%4N.g"X
Whether the Struts filter should serve static content or not K y~
9's
是否struts过滤器应该提供静态内容 UgDai?b1
-q' n p0H
struts.tag.altSyntax jUtrFl
Whether to use the alterative syntax for the tags or not (1H_V(
是否可以用替代的语法替代tags 9\i;zpN\
%F-/|x1#Q
struts.ui.templateDir TEz)d=
The directory containing UI templates 1rh\X[@
UI templates的目录夹 cnvxTI<
*zeY<6
struts.ui.theme /tRzb8`
The default UI template theme n4\6\0jq6
默认的UI template主题 R9&T0Q