struts2的struts.properties配置文件详解 (d-j/v*4
+e)RT<
struts.action.extension mW U*}-M
The URL extension to use to determine if the request is meant for a Struts action 0Y\7A
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =Y5*J#
tA9(N>[*
struts.configuration 1;9 %L@
The org.apache.struts2.config.Configuration implementation class CYC6:g|)
org.apache.struts2.config.Configuration接口名 Oxf,2r
qzu%Pp6If
struts.configuration.files }u'O<d~z?
A list of configuration files automatically loaded by Struts Uf-`g>
struts自动加载的一个配置文件列表 DYCXzFAa
(9D,Ukw
struts.configuration.xml.reload 3yIC@>&y(8
Whether to reload the XML configuration or not ,6a }l;lv
是否加载xml配置(true,false) {%z}CTf#
hH@pA:`s
struts.continuations.package +yu^Z*_
The package containing actions that use Rife continuations h>K%OxR
含有actions的完整连续的package名称 .e2K\o
;?:X_C
struts.custom.i18n.resources h2edA#bub
Location of additional localization properties files to load o8S)8_3
加载附加的国际化属性文件(不包含.properties后缀) UjQi9ELoJ
f5QJj<@
struts.custom.properties g/m%A2M&aH
Location of additional configuration properties files to load ,h$j%->U
加载附加的配置文件的位置 ]6EXaf#
atWAhN
g,cl|]/\d
struts.devMode }g[(h=Qi
Whether Struts is in development mode or not ?\Z-3l%M
是否为struts开发模式
y-CVyl
%+Khj@aX
struts.dispatcher.parametersWorkaround 4U1"F 7'
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <ba+7CK]w
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) u<{uUui}$v
b."1p7'
struts.enable.DynamicMethodInvocation We,~P\g
Allows one to disable dynamic method invocation from the URL jR&AQ-H&
允许动态方法调用 gL;tyf1P
r` (U3EgP
struts.freemarker.manager.classname sp$W=Wu7
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class GPnSdGLC
org.apache.struts2.views.freemarker.FreemarkerManager接口名 FzGla} )
ZN?UkFnE
struts.i18n.encoding ;}gS8I|
The encoding to use for localization messages tvG/oe .1'
国际化信息内码 FqK2[]8
ZX!u\O|w
struts.i18n.reload L`{EXn[
Whether the localization messages should automatically be reloaded &O.S ;b*+
是否国际化信息自动加载 v><uHjP
o\YF_235
struts.locale nANoy6z:
The default locale for the Struts application gRdg3qvU
默认的国际化地区信息 h47l;`kD-#
#0j,1NpL
struts.mapper.class ROHr%'owgL
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ,4%'~8'3
org.apache.struts2.dispatcher.mapper.ActionMapper接口 yjP;o`z%
MM%c
struts.multipart.maxSize nfMQ3KP
The maximize size of a multipart request (file upload) 8"g.Z*
multipart请求信息的最大尺寸(文件上传用) #5x[Z[m
N;6WfdA-
struts.multipart.parser {?9s~{Dl
The org.apache.struts2.dispatcher.multipart. ! G+/8Q^
MultiPartRequest parser implementation for a multipart request (file upload) Tfl4MDZb
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7)Rx-
Y-WYQ{
-*EK-j
struts.multipart.saveDir KwiTnP!Dca
The directory to use for storing uploaded files VJeN
m3WNb
设置存储上传文件的目录夹 xFY;aK
v+|N7
struts.objectFactory =N zA2td
The com.opensymphony.xwork2.ObjectFactory implementation class 8y{<M"v+/
com.opensymphony.xwork2.ObjectFactory接口(spring) @"#W\m8
6"W~%FSJX
struts.objectFactory.spring.autoWire 43Yav+G(+
Whether Spring should autoWire or not <j.bG 7
是否自动绑定Spring oA&V,r
\i=,[8t[r
struts.objectFactory.spring.useClassCache }GCt)i_
Whether Spring should use its class cache or not Oj*3'?<7=
是否spring应该使用自身的cache &V&0kp@+
0iX;%SPYz
struts.objectTypeDeterminer /*bS~7f1
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ?b~V uo
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /)PD+18
)vK
%LmP
struts.serve.static.browserCache B&`hvR
If static content served by the Struts filter should set browser caching header properties or not B{SzC=4f}
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 RYaf{i`
8 JUUK(&Z
struts.serve.static !RnO{FL
Whether the Struts filter should serve static content or not p_jDnb#
是否struts过滤器应该提供静态内容 !ldb_*)h
zZ|Si
struts.tag.altSyntax r c7"sIkV
Whether to use the alterative syntax for the tags or not wNW9xmS
是否可以用替代的语法替代tags \dbjh{
8_K22]c5
struts.ui.templateDir 1TKOvy_
The directory containing UI templates vb}; _/#?
UI templates的目录夹 sSi1;9^o
por[p\ M.
struts.ui.theme F}A@H<?
The default UI template theme O=#FpPHrdw
默认的UI template主题 PQsqi;=)
#s1O(rLRl
struts.url.http.port Qc z7IA
The HTTP port used by Struts URLs Poacd;*
设置http端口 N(@'L43$V
S"UFT-N
struts.url.https.port +!V*{<K
The HTTPS port used by Struts URLs /)xG%J7H
设置https端口 [BHf>
})|+tZ
struts.url.includeParams qDO4&NO
The default includeParams method to generate Struts URLs n}qHt0N
在url中产生 默认的includeParams H'$g!Pg
XGEAcN
K^k1]!W=
struts.velocity.configfile s,Cm}4L6
The Velocity configuration file path SQ)$>3>C
velocity配置文件路径 \c+)Y}:D
IBWUeB:b
struts.velocity.contexts #{GUu',?&
List of Velocity context names Z
xLjh
velocity的context列表 l,*v/95h
3C8'0DB
A?3hNvfx
struts.velocity.manager.classname lkV%
k1w
org.apache.struts2.views.velocity.VelocityManager implementation class y5.Z <Y
org.apache.struts2.views.velocity.VelocityManager接口名 G|yX9C]R
/b20!3
struts.velocity.toolboxlocation pK#Ze/!
The location of the Velocity toolbox SG8H~]CO)
velocity工具盒的位置 hNXPm~OK\
struts.xslt.nocache @YP\!#"8
Whether or not XSLT templates should not be cached f8)D|
是否XSLT模版应该被缓存 \@Gyl_6^