struts2的struts.properties配置文件详解 7u(i4O&
k
O*7~t17
struts.action.extension R["7%|RV
The URL extension to use to determine if the request is meant for a Struts action G
0 yt%qHE
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 q5Mif\
1jb@nxRjO
struts.configuration f#+ h_1#
The org.apache.struts2.config.Configuration implementation class /+7L`KPD
org.apache.struts2.config.Configuration接口名 Cm>F5$l{
"+60B0>sc
struts.configuration.files ^u74WN
A list of configuration files automatically loaded by Struts =+WFx3/
struts自动加载的一个配置文件列表 'r0gqtB
`w}"0+V
struts.configuration.xml.reload +cN2 KP
Whether to reload the XML configuration or not _Fjv.VQ,
是否加载xml配置(true,false) >aK&T"
Q.yoxq
struts.continuations.package e%\K I\u
The package containing actions that use Rife continuations AJ}Q,E
含有actions的完整连续的package名称 ~>|U %3}]
"/=xu|
struts.custom.i18n.resources WBdb[N6\
Location of additional localization properties files to load K}@:>;*9
加载附加的国际化属性文件(不包含.properties后缀) pcG q
`.XU|J*z,
struts.custom.properties Ab)7hCUW
Location of additional configuration properties files to load Z5K,y19/~
加载附加的配置文件的位置 j.*}W4`Q_
[d}1Cq=_
\~>#<@h
struts.devMode 9|,AhyhO
Whether Struts is in development mode or not C09@2M'
是否为struts开发模式 5=\b+<pE
&~EOM
struts.dispatcher.parametersWorkaround ;'urt /
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic P[~a'u
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) MaM7u:kD#
a6C~!{'nW
struts.enable.DynamicMethodInvocation BVDo5^&W
Allows one to disable dynamic method invocation from the URL <T>f@Dn,
允许动态方法调用 WqO*vK!t
^q$sCt}
struts.freemarker.manager.classname L\5n!(,0
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class t!LvV.g+
org.apache.struts2.views.freemarker.FreemarkerManager接口名 2vLn#
u/:@+rTV_
struts.i18n.encoding c3+vtP&
The encoding to use for localization messages j.sf FS
国际化信息内码 !xSGZD=AD
n&^Rs)%v
struts.i18n.reload ek<U2C_u#
Whether the localization messages should automatically be reloaded FqySnr JQ
是否国际化信息自动加载 \}5\^&}_
|ONOF
struts.locale }N NyUwFa
The default locale for the Struts application tQ"PCm
默认的国际化地区信息 Sk xaSJ"
#+$z`C`
struts.mapper.class W-MQMHQ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !Iqyt. .
org.apache.struts2.dispatcher.mapper.ActionMapper接口 LdL< 5Q[
/}wGmX! -!
struts.multipart.maxSize ygHNAQG~
The maximize size of a multipart request (file upload) &f$jpIyVX
multipart请求信息的最大尺寸(文件上传用) !#QD;,SE+
:Fh*4
&Z
struts.multipart.parser LF8B5<[O
The org.apache.struts2.dispatcher.multipart. vhKD_}}aP
MultiPartRequest parser implementation for a multipart request (file upload) 3JwmLGj}
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) |
=&r)
~
pdM|dGq^
y9 "!ys
struts.multipart.saveDir zPn8>J<.0Q
The directory to use for storing uploaded files NW$Z}?I
设置存储上传文件的目录夹 q?wBh^
oPi)#|jcb
struts.objectFactory <5
okwcJ^
The com.opensymphony.xwork2.ObjectFactory implementation class fE >FT9c
com.opensymphony.xwork2.ObjectFactory接口(spring) `KZ}smMA
HRk+2'wjAz
struts.objectFactory.spring.autoWire C]}0h!_V
Whether Spring should autoWire or not w] VvH"?
是否自动绑定Spring OF)X(bi4j
fYpy5vc-dm
struts.objectFactory.spring.useClassCache q^gd1K<N
Whether Spring should use its class cache or not l ^{]pD
是否spring应该使用自身的cache iC
2:P~
w!Z3EA ;`
struts.objectTypeDeterminer ]>!]X*\9
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class U`D"L4},.
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 H&I0\upd
R6ywc"xE
struts.serve.static.browserCache M
C>{I3
If static content served by the Struts filter should set browser caching header properties or not Zscmc;G
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 %"o4IYV#
e_Y>[/Om
struts.serve.static Gz`Zp "i%0
Whether the Struts filter should serve static content or not c#_%|gg
是否struts过滤器应该提供静态内容 $OmtN"
p[cC%3
struts.tag.altSyntax <~3@+EEM
Whether to use the alterative syntax for the tags or not {aU~[5L3(
是否可以用替代的语法替代tags FG?B:Zl%T
U]_1yX
struts.ui.templateDir *0Fn C2W1
The directory containing UI templates v6]lH9c{,
UI templates的目录夹 V /|@
]F,5Oh :OY
struts.ui.theme CpA=DnZ
The default UI template theme ~s+\Y/@A
默认的UI template主题 ).LJY<A
h.PY$W<
struts.url.http.port dP )YPy_`
The HTTP port used by Struts URLs [mX\Q`)QP
设置http端口 h|wyvYKZ
qz?9:"~$C
struts.url.https.port iYFM@ta
The HTTPS port used by Struts URLs VPK)HzPG,
设置https端口 ee6Zm+.B
jQc$>M<"o
struts.url.includeParams S-My6'ar
The default includeParams method to generate Struts URLs u)%J5TR .Y
在url中产生 默认的includeParams By%aTuV$
V_h, UYN
N"T+.
r
struts.velocity.configfile .DHPKz`W0
The Velocity configuration file path ~zi&u46
velocity配置文件路径 w<>B4m\
Xq9%{'9
struts.velocity.contexts fy7]I?vm@
List of Velocity context names od$Cm5
velocity的context列表 I/t2c=f
s+,JwV?b
NU81 V0:jG
struts.velocity.manager.classname @N34 Q-l
org.apache.struts2.views.velocity.VelocityManager implementation class sOv:/'
org.apache.struts2.views.velocity.VelocityManager接口名 %<P&"[F]v@
^dRB(E}|)
struts.velocity.toolboxlocation ~r+;i,,X
The location of the Velocity toolbox kz] qk15w
velocity工具盒的位置 %-> X$,Q
:
struts.xslt.nocache T=9+
Whether or not XSLT templates should not be cached 6~j6M4*
是否XSLT模版应该被缓存 Iq(BH^K