struts2的struts.properties配置文件详解 ({cWb:+r
nXERj; Q"
struts.action.extension 1'1>B
The URL extension to use to determine if the request is meant for a Struts action #@E:|^$1y
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 00yWk_w
6A ptq
struts.configuration tHr4/
The org.apache.struts2.config.Configuration implementation class ~^fb`f+%
org.apache.struts2.config.Configuration接口名 D/wJF[_
VKSn \HT~
struts.configuration.files E
*782>
A list of configuration files automatically loaded by Struts .S]*A b
struts自动加载的一个配置文件列表 @h/-P'Lc=7
.dwbJT
struts.configuration.xml.reload ('o}EoXS
Whether to reload the XML configuration or not jI9#OEH_g
是否加载xml配置(true,false) |fo#pwX
$Xqc'4YOZ
struts.continuations.package n"@){:{4?
The package containing actions that use Rife continuations h+j*vX/!
含有actions的完整连续的package名称 & u6ydN1xe
KWM}VZY:Z
struts.custom.i18n.resources 7R,;/3wWjG
Location of additional localization properties files to load Uz%ynH
加载附加的国际化属性文件(不包含.properties后缀) Zu94dFP
{e0(M*u
struts.custom.properties apnpy\in
Location of additional configuration properties files to load #8y"1I=i&
加载附加的配置文件的位置 F6"s&3D{
G9@5 !-
tqjjn5!
struts.devMode 0 1NP
Whether Struts is in development mode or not >4os%T
是否为struts开发模式 &}\{qFD;
-C* 6>$A
struts.dispatcher.parametersWorkaround uavyms^
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic **.23<n^W
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) S>jOVWB
ant2];0p
struts.enable.DynamicMethodInvocation #c~-8=
Allows one to disable dynamic method invocation from the URL l8e)|MSh
允许动态方法调用 ";DozPU
p$` ^A
struts.freemarker.manager.classname &kT!GU^n
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $9u:Ox
2
org.apache.struts2.views.freemarker.FreemarkerManager接口名 }ktK*4<k
lwIxn1n
struts.i18n.encoding b*4aUpW
The encoding to use for localization messages 3_]QtP3
国际化信息内码 qx*N-,M%k(
s+E4AG1r
struts.i18n.reload ubc
k{\.
Whether the localization messages should automatically be reloaded d<E2=WVB6
是否国际化信息自动加载 U~dqxR"Q
WC
b5
struts.locale 4JXJ0T ar
The default locale for the Struts application z0F55<i
默认的国际化地区信息 nswhYSX
!_W']Crb]]
struts.mapper.class -#R63f&
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2-@t,T
org.apache.struts2.dispatcher.mapper.ActionMapper接口 PfGiJ]:V-u
!sYZ1;WAO
struts.multipart.maxSize
:z6?
The maximize size of a multipart request (file upload) 6o*'Q8h
multipart请求信息的最大尺寸(文件上传用) U/xzl4m6
L@f&71
struts.multipart.parser (!Xb8rV0_
The org.apache.struts2.dispatcher.multipart. VFm)!'=I
MultiPartRequest parser implementation for a multipart request (file upload) KcW 5
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Q5_ ,`r`
r$ I k*R
_qh\
struts.multipart.saveDir <N3~X,ch
The directory to use for storing uploaded files ==trl#kQ%%
设置存储上传文件的目录夹 Cu<' b'%;
}G!'SZ$F 5
struts.objectFactory fJe5
i6`(
The com.opensymphony.xwork2.ObjectFactory implementation class WcpH="vm
com.opensymphony.xwork2.ObjectFactory接口(spring) C'jCIL
2X(2O':Uc
struts.objectFactory.spring.autoWire f 0~Z@\
Whether Spring should autoWire or not 7e D`
is
是否自动绑定Spring w7 \vrS>&
e)3Mg^
struts.objectFactory.spring.useClassCache J?tnS6V
Whether Spring should use its class cache or not 6="o&!
是否spring应该使用自身的cache k0TQFx.A
fG{3S:TQq
struts.objectTypeDeterminer fd62m]X
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class dF|R`Pa2ML
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1`l(H4
3_T'0x\FP
struts.serve.static.browserCache u=E &jL5U
If static content served by the Struts filter should set browser caching header properties or not Ec }9R3 m
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #MbY+[Y@v
#jO2Zu2`}
struts.serve.static NGEE'4!i7T
Whether the Struts filter should serve static content or not yA7O<p+
是否struts过滤器应该提供静态内容 \Rha7O
= \K/ulZo
struts.tag.altSyntax (&, E}{p9
Whether to use the alterative syntax for the tags or not x}x )h3e
是否可以用替代的语法替代tags )*7{%Ilq
_^!C4?2!
struts.ui.templateDir $XKUw"%
The directory containing UI templates "cbJ{ G1pk
UI templates的目录夹 `iEYq0}
&v9"lR=_k
struts.ui.theme
0BAZWm
The default UI template theme _T=";NSa
默认的UI template主题 oeI[x
^}:0\;|N
struts.url.http.port r]kks_!Z
The HTTP port used by Struts URLs >,rzPc)
设置http端口 |C,]-mJ G
W>'gG}.
struts.url.https.port ;2^zkmDM
The HTTPS port used by Struts URLs PE[5oH
设置https端口 )ub!tm
?Qts2kae#
struts.url.includeParams W!TTfj
The default includeParams method to generate Struts URLs h645;sb0
在url中产生 默认的includeParams L$ jii
0\eSiXs
Cq-99@&;
struts.velocity.configfile x/0x&la
The Velocity configuration file path z_8Bl2tl
velocity配置文件路径 =CL,+
Z$35`:x&h
struts.velocity.contexts w2U]RI\?2
List of Velocity context names <Zh\6*3:ab
velocity的context列表 v~p?YYOm<
9>_VU"T
,3)JZM
struts.velocity.manager.classname f,BJb+0
org.apache.struts2.views.velocity.VelocityManager implementation class <YWu/\{KT
org.apache.struts2.views.velocity.VelocityManager接口名 ol_&epG;ST
3;!a'[W&p
struts.velocity.toolboxlocation 'OMl9}M
The location of the Velocity toolbox SO~pe$c-
velocity工具盒的位置 472'P
struts.xslt.nocache H
'nLC,
Whether or not XSLT templates should not be cached 9mpQusM
是否XSLT模版应该被缓存 [yRqSB