struts2的struts.properties配置文件详解 ZoW?nxY
vQG5*pR*w
struts.action.extension @Rze|
T.
The URL extension to use to determine if the request is meant for a Struts action ;J( 8
L
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 V;VHv=9`o
3lL-)<0A(
struts.configuration 94`7a<&ZNL
The org.apache.struts2.config.Configuration implementation class LtF,kAIt7v
org.apache.struts2.config.Configuration接口名 #FLb*%Nr
@}u*|P*
struts.configuration.files h%na>G
A list of configuration files automatically loaded by Struts tPWLg),
struts自动加载的一个配置文件列表 c%
-Tem'#
jxJ8(sr$
struts.configuration.xml.reload >{n,L6_t
Whether to reload the XML configuration or not VOsRAn/N
是否加载xml配置(true,false) s*KhF'fN
XAKs0*J>
struts.continuations.package h]&GLb&<?
The package containing actions that use Rife continuations wD}l$& +
含有actions的完整连续的package名称 .&iawz
a#(?P.6
struts.custom.i18n.resources 23eX;gL
Location of additional localization properties files to load m#Jmdb_
加载附加的国际化属性文件(不包含.properties后缀) |)DGkOtd
HXC ;Np
struts.custom.properties #4NaL
Location of additional configuration properties files to load 7vKK%H_P
加载附加的配置文件的位置 5X$ jl;6
WF+99?75
V]6dscQ
struts.devMode ;6
D@A
Whether Struts is in development mode or not ea2ayT
是否为struts开发模式 9Q^r
O26+
K=Z|/Kkh
struts.dispatcher.parametersWorkaround =!A_^;NQf
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %g$o/A$
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \ A#41
Q~]uC2Mw
struts.enable.DynamicMethodInvocation ?3`UbN:
Allows one to disable dynamic method invocation from the URL :K,i\
允许动态方法调用 T@B/xAq5!
/N10
struts.freemarker.manager.classname x_Y!5yg
E
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class H [\o RId
org.apache.struts2.views.freemarker.FreemarkerManager接口名 oG?Xk%7&\
3BUSv#w{i
struts.i18n.encoding 9wUkh}s
The encoding to use for localization messages <?.&^|kS
国际化信息内码 !;v|' I
yjX9oxhtL
struts.i18n.reload (_]~wi-,
Whether the localization messages should automatically be reloaded a(X@Q8l:
是否国际化信息自动加载 `UyG_;
'3tCH)s
struts.locale FIhk@TKa
The default locale for the Struts application /& {A!.;
默认的国际化地区信息 1<@W6@]
*I.f1lz%*
struts.mapper.class ORw,)l
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `cUl7 'j
org.apache.struts2.dispatcher.mapper.ActionMapper接口 AM \'RHL
cd_yzpL@}J
struts.multipart.maxSize :J@gmY:C
The maximize size of a multipart request (file upload) +.[ <%
multipart请求信息的最大尺寸(文件上传用) ,/I.t DH
]y'>=a|T
struts.multipart.parser b94DJzL1z
The org.apache.struts2.dispatcher.multipart. {$
JYw{a
MultiPartRequest parser implementation for a multipart request (file upload) *u [BP@vE
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &)ChQZA
U(g:zae
Cctu|^V
struts.multipart.saveDir D_*WYV
The directory to use for storing uploaded files - % h.t+=U
设置存储上传文件的目录夹 :U%W%
VA_PvL.9
struts.objectFactory dn+KH+v
The com.opensymphony.xwork2.ObjectFactory implementation class }<SQ
com.opensymphony.xwork2.ObjectFactory接口(spring) E6ElNgL
cp7=epho
struts.objectFactory.spring.autoWire n
M*%o-
Whether Spring should autoWire or not osAd1<EIC
是否自动绑定Spring f}f9@>.
>*_$]E
struts.objectFactory.spring.useClassCache 4F'LBS]=0
Whether Spring should use its class cache or not 7,o7Cf2 z
是否spring应该使用自身的cache `?_Q5lp/s
9}<ile7^
struts.objectTypeDeterminer <0&*9ZeD
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class
xF'EiX ~
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 q
dBrQC
Yujiqi]J;
struts.serve.static.browserCache IueFx u
If static content served by the Struts filter should set browser caching header properties or not )23H1
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 IY\5@PVZ
"7F?@D$e
struts.serve.static BLiF
5
Whether the Struts filter should serve static content or not 7'V@+5
是否struts过滤器应该提供静态内容 kfY}S
3$>1FoSk
struts.tag.altSyntax VU]`&`~J
Whether to use the alterative syntax for the tags or not |N 7M^
是否可以用替代的语法替代tags ;))+>%SGCt
c9u`!'g`i
struts.ui.templateDir | rtD.,m
The directory containing UI templates Yu^4VXp~M%
UI templates的目录夹 ~Otoqu|
mnX2a
struts.ui.theme
:KP@RZm
The default UI template theme giw &&l=_
默认的UI template主题 hRCJv#]HC
|{NYkw
struts.url.http.port E]n&=\
The HTTP port used by Struts URLs s)D;a-F
设置http端口 +_oJ}KI
h]}wp;Z
struts.url.https.port #gs`#6 ,'
The HTTPS port used by Struts URLs 29] G^f>
设置https端口 e 2oa($9
oY3;.;'bk
struts.url.includeParams )g%d:xI
The default includeParams method to generate Struts URLs `e&Suyf4B
在url中产生 默认的includeParams FGmb<z 2p
<=/hil
L^?qOylu
struts.velocity.configfile +lcbi
The Velocity configuration file path 4p;`C
velocity配置文件路径 -- 95Jz
qt"m
struts.velocity.contexts MH\dC9%p
List of Velocity context names \V~eVf;~
velocity的context列表 Moza".fiN
"`e{/7I
J<h$
wM
struts.velocity.manager.classname `l[c_%Bm
org.apache.struts2.views.velocity.VelocityManager implementation class D'DfJwA
org.apache.struts2.views.velocity.VelocityManager接口名 v$wIm, j
;'@9[N9
struts.velocity.toolboxlocation <<5(0#y#
The location of the Velocity toolbox U$A]8NZ$S
velocity工具盒的位置 ^k">A:E2
struts.xslt.nocache :OT0yA=U
Whether or not XSLT templates should not be cached d^
8ZeC#
是否XSLT模版应该被缓存 qfm|@v|De5