struts2的struts.properties配置文件详解 #b~wIOR)Z
y5X HJUTu
struts.action.extension &*}NN5Sv
The URL extension to use to determine if the request is meant for a Struts action 2 us-s
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 <By6%<JTn
09f:%!^u
struts.configuration ,C#Mf@b
The org.apache.struts2.config.Configuration implementation class pP4i0mO{Dv
org.apache.struts2.config.Configuration接口名 !Cm<K*c"&E
M>mk=-l
struts.configuration.files 6~
*w~U
A list of configuration files automatically loaded by Struts [w%MECTe
struts自动加载的一个配置文件列表 T:$zNX<f
uc%
&g
struts.configuration.xml.reload >bf29tr
Whether to reload the XML configuration or not CvCk#:@HM
是否加载xml配置(true,false) O};U3=^0f
+DWmutL
struts.continuations.package !bnuC c
The package containing actions that use Rife continuations xZ51iD$
含有actions的完整连续的package名称 0hKF)b
4T-9F
struts.custom.i18n.resources ~ caKzq
Location of additional localization properties files to load q;T3bxp+
加载附加的国际化属性文件(不包含.properties后缀) &S}i)Nu6J
TzXivE@mm
struts.custom.properties 00') Ol&
Location of additional configuration properties files to load
f6 zT
加载附加的配置文件的位置 6]i"lqb
dOm#NSJVd
G`9\v=0
struts.devMode ;79X#hI
Whether Struts is in development mode or not 73$^y)AvY
是否为struts开发模式 `U4R%
qhWA
<a-I-~
struts.dispatcher.parametersWorkaround +\FTR
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic FhgO5@BO
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) |kvom 4 T
[)}F4Jsz%
struts.enable.DynamicMethodInvocation tJ>OZ
Allows one to disable dynamic method invocation from the URL :X>%6Xj?RV
允许动态方法调用 kL.JrbM"
7qB}Hvh
struts.freemarker.manager.classname D nA}!s
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 1 l'Wb2g>A
org.apache.struts2.views.freemarker.FreemarkerManager接口名 u>Z0ug6x
K~A$>0c
struts.i18n.encoding
* P_
3A:_
The encoding to use for localization messages K/Q^8%Z
国际化信息内码 ]8(_{@/
+OFq=M
struts.i18n.reload n*6 b*fl
Whether the localization messages should automatically be reloaded 'CT8vt;
是否国际化信息自动加载 FbB>
Md;
7|6uY
struts.locale 1FU(j*~:
The default locale for the Struts application *0)vsBi
默认的国际化地区信息 +#gJ[Cc
;BV1E|j
struts.mapper.class ylF%6!V}4V
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 4,m
aA
org.apache.struts2.dispatcher.mapper.ActionMapper接口 \|Pp%U [
OWs K>egD
struts.multipart.maxSize _94|^
The maximize size of a multipart request (file upload) SxLu<
multipart请求信息的最大尺寸(文件上传用) Hm|8ydNs
Z~^)B8
struts.multipart.parser u8pJjn;
The org.apache.struts2.dispatcher.multipart. x^kV;^ I
MultiPartRequest parser implementation for a multipart request (file upload) "nXL7N0
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7aVQp3<
vn@9Sqk
~6`HJ
struts.multipart.saveDir V`Z-m-V~1
The directory to use for storing uploaded files &g R+D
设置存储上传文件的目录夹 T] d9tX-
K!6k<
struts.objectFactory 5v4
,YHD
The com.opensymphony.xwork2.ObjectFactory implementation class q]3bGO;
com.opensymphony.xwork2.ObjectFactory接口(spring) NF <|3|
q"OvuHBSOn
struts.objectFactory.spring.autoWire 5BCHWX*y
Whether Spring should autoWire or not (J8(_MF
是否自动绑定Spring [mKPOg-t
=$6z1] ;3
struts.objectFactory.spring.useClassCache $pK2H0c
Whether Spring should use its class cache or not '#REbY5ev
是否spring应该使用自身的cache Uk=jQfA*J
s/+@o:
struts.objectTypeDeterminer o5dPE{f
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class h.@5vhD
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 VSa\X~
/k3v\Jq{
struts.serve.static.browserCache (K"U# Zn
If static content served by the Struts filter should set browser caching header properties or not eO#Kn'5
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 e[f}L xln
e;9Z/);#s
struts.serve.static '+LbFGrO3
Whether the Struts filter should serve static content or not 6('2.^8
是否struts过滤器应该提供静态内容 =n>&Bl-Bl
6qQdTp{i
struts.tag.altSyntax rf_(pp)
Whether to use the alterative syntax for the tags or not XnmQp)nyV
是否可以用替代的语法替代tags .$5QM&
Lu,72i0O ^
struts.ui.templateDir <eP`Lu"
The directory containing UI templates lB9 9J"A
UI templates的目录夹 T:&
5s3!{zT{
struts.ui.theme ]cvP !
The default UI template theme BH"f\oc
默认的UI template主题 lt\.
)Y>4
._j9^Ll
struts.url.http.port NO5\|.,Z
The HTTP port used by Struts URLs -0rc4<};h
设置http端口 OKs1irt5
0Z9>%\km_
struts.url.https.port b_2bg>|;
The HTTPS port used by Struts URLs g,Z8I;A^
设置https端口 ^ Q]I)U
D?ojxHe
struts.url.includeParams : p# 5nYi
The default includeParams method to generate Struts URLs yO\.dp
在url中产生 默认的includeParams xwK{}==U
,.;q[s8
A)"?GK{*
struts.velocity.configfile ,@1rP 55
The Velocity configuration file path pRyePxCDj)
velocity配置文件路径 tnL $v2e6q
*HiN:30DZ
struts.velocity.contexts S"+X+Oxp7?
List of Velocity context names ~n9x
,
velocity的context列表 z2'3P{#s
bzYj`t?
6
axe
struts.velocity.manager.classname @@->A9'L
org.apache.struts2.views.velocity.VelocityManager implementation class [X K^3pT_
org.apache.struts2.views.velocity.VelocityManager接口名 MvV\?Lzj
>@?!-Fy5
struts.velocity.toolboxlocation !R@v\Eu
The location of the Velocity toolbox Sep/N"7~t
velocity工具盒的位置 (R^X3
struts.xslt.nocache &c[.&L,w4
Whether or not XSLT templates should not be cached 8SH&b8k<<
是否XSLT模版应该被缓存 FfEP@$