struts2的struts.properties配置文件详解 05q760I+
4SJ aAeIZ
struts.action.extension OL>>/T
The URL extension to use to determine if the request is meant for a Struts action *x|%Nua"
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 7@fS2mu
#5@(^N5p`
struts.configuration q>.7VN[
vE
The org.apache.struts2.config.Configuration implementation class d#rr7O
org.apache.struts2.config.Configuration接口名 fd&Fn=!
q()o|V
struts.configuration.files <|}Z6Ti
A list of configuration files automatically loaded by Struts `Npa/Q
struts自动加载的一个配置文件列表 xo_STLAw
rMDvnF
struts.configuration.xml.reload rF-SvSj}
Whether to reload the XML configuration or not S)W xTE9
是否加载xml配置(true,false) RW. qw4
9efDM
struts.continuations.package &-yRa45?
The package containing actions that use Rife continuations DQQ]grU
含有actions的完整连续的package名称 6DHK&<=D8
+?{"Q#.>;
struts.custom.i18n.resources mrP48#Y+l
Location of additional localization properties files to load )A7^LLzG
加载附加的国际化属性文件(不包含.properties后缀) 0!\C@wnH
l/'GbuECm
struts.custom.properties 1_]X
Location of additional configuration properties files to load \%a0Lp{ I
加载附加的配置文件的位置 89FAh6u E
|q*yuK/
L1SKOM$
struts.devMode .KA-=$~J1
Whether Struts is in development mode or not bkV<ZUW|;
是否为struts开发模式 >zW2w2O3
j~-N2b6z
struts.dispatcher.parametersWorkaround xSmG,}3mF
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic pux IJ
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) rFg$7
o72r `2
struts.enable.DynamicMethodInvocation -qIi.]/f"9
Allows one to disable dynamic method invocation from the URL f CU]
允许动态方法调用 (u@:PiU/eP
aj&L
Z DD6
struts.freemarker.manager.classname oRWje#4O
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +;KUL6
org.apache.struts2.views.freemarker.FreemarkerManager接口名 6dIPgie3w
3CoZ2
struts.i18n.encoding hu}$ \
The encoding to use for localization messages e"S?qpJK
国际化信息内码 P51M?3&=l
I`V<Sh^Qd
struts.i18n.reload ccag8LC
Whether the localization messages should automatically be reloaded %;'~TtW5
是否国际化信息自动加载 }HoCfiE=X
v1OVrk>s>
struts.locale ="voJgvw
The default locale for the Struts application N#T'}>t y
默认的国际化地区信息 _Vr- bpAf
,UY1.tR(
struts.mapper.class ^1S{::
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ks#3
o+
org.apache.struts2.dispatcher.mapper.ActionMapper接口 )UKX\nD"0
-#|;qFD]
struts.multipart.maxSize l)%PvLbL
The maximize size of a multipart request (file upload) Tx;a2:6\[
multipart请求信息的最大尺寸(文件上传用) =NF0E8O
#rkq
?:Q
struts.multipart.parser $l]:2!R
The org.apache.struts2.dispatcher.multipart. qIi
\[Ugh
MultiPartRequest parser implementation for a multipart request (file upload) _i05'_
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) r:g\
f$C{Z9_SX
EqW~K@
struts.multipart.saveDir 1+FVM\<&
The directory to use for storing uploaded files q?}C`5%D
设置存储上传文件的目录夹 k[r^@|
vE:*{G;Y
struts.objectFactory >C|pY6
The com.opensymphony.xwork2.ObjectFactory implementation class 2RkW/)A9
com.opensymphony.xwork2.ObjectFactory接口(spring) +fKOX#%
a^R?w|zCX
struts.objectFactory.spring.autoWire E_ns4k#uG
Whether Spring should autoWire or not 3`^@ymY
是否自动绑定Spring Y9)j1~
k*$WAOJEW
struts.objectFactory.spring.useClassCache V]zc-gYI
Whether Spring should use its class cache or not &<F9Z2^
是否spring应该使用自身的cache l_h:S`z.
TR DQ+Z
struts.objectTypeDeterminer *S,~zOYN
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class F)^0R%{C
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :21d
RA0;f'"`
struts.serve.static.browserCache =:]ps<Qx
If static content served by the Struts filter should set browser caching header properties or not h&>3;Lj
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 cb}zCl
j o
(;{X-c}?
struts.serve.static _SBbd9
Whether the Struts filter should serve static content or not Z 1HH0{q-A
是否struts过滤器应该提供静态内容 4IeCb?
l f>/
struts.tag.altSyntax g:Hj1!'
Whether to use the alterative syntax for the tags or not ~:DL{ZeEb
是否可以用替代的语法替代tags xKUL}>8
6
VEB2F
struts.ui.templateDir n28JWkK8
The directory containing UI templates cC/h7odY
UI templates的目录夹 PgkU~68`
Ob$``31{s
struts.ui.theme hXTfmFy{n
The default UI template theme hF2e--
默认的UI template主题
!VGG2N8
=[(34#
struts.url.http.port &QHJ%c
The HTTP port used by Struts URLs S/]\GG{
设置http端口 gb_Y]U
,X@o@W+L
struts.url.https.port
2v{WX
The HTTPS port used by Struts URLs FLi'}C
设置https端口 6<lo0PQ"Z
x92^0cMf
struts.url.includeParams U{2xgNJ
The default includeParams method to generate Struts URLs i~';1
.g
在url中产生 默认的includeParams f'*-<sSr
!&:=sA
m}"Hm(,6
struts.velocity.configfile '(vZfzc{J
The Velocity configuration file path oIhKMQ;jh
velocity配置文件路径 ?bZH Aed
,Z{\YAh1
struts.velocity.contexts 8b/$Qp4d
List of Velocity context names YG\#N+D
velocity的context列表 QEyL/#Q
c1f"z1Z
:33@y%>L
struts.velocity.manager.classname @Xo*TJB
org.apache.struts2.views.velocity.VelocityManager implementation class PT/Nz+
org.apache.struts2.views.velocity.VelocityManager接口名 I6.rN\%b
UoT`/.
struts.velocity.toolboxlocation ]\pi!oa
The location of the Velocity toolbox =D1
velocity工具盒的位置 _p )NZ7yC
struts.xslt.nocache y'2|E+*V
Whether or not XSLT templates should not be cached AB3_|Tza~&
是否XSLT模版应该被缓存 ?ko#N?hgI