struts2的struts.properties配置文件详解 .LZ?S"z$w
2s8a
$3
struts.action.extension sdrfsrNvB-
The URL extension to use to determine if the request is meant for a Struts action {?0lBfB"
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 FUzzB94a
zk+9'r`-D
struts.configuration aKDKmHd
The org.apache.struts2.config.Configuration implementation class S?LQu
org.apache.struts2.config.Configuration接口名 }&D WaO]J7
59L\|OR
struts.configuration.files Dpac^ST
A list of configuration files automatically loaded by Struts A@('pA85
struts自动加载的一个配置文件列表 @4C% +-
,THw"bm
struts.configuration.xml.reload nW:C/{n2tG
Whether to reload the XML configuration or not "{xrL4BtC
是否加载xml配置(true,false) 'oVx#w^mf
W
i.&e
struts.continuations.package Lb-OsKU
The package containing actions that use Rife continuations #%2rP'He
含有actions的完整连续的package名称 }v{LRRi
MchA{p&Ol
struts.custom.i18n.resources LOYk9m
Location of additional localization properties files to load a-tmq]]E
加载附加的国际化属性文件(不包含.properties后缀) VQ@
/maJtX'
struts.custom.properties wQf-sk#
Location of additional configuration properties files to load ?z+eWL
加载附加的配置文件的位置 {YC@T(
]/6z;
~3U
IP pN@
struts.devMode y.k~Y0
Whether Struts is in development mode or not !BF;
>f`
是否为struts开发模式 ^7*11%Q
372rbY
struts.dispatcher.parametersWorkaround TX/Xt7#R:
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ,p a {qne
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 'Is kWgc
y^*~B(T{
struts.enable.DynamicMethodInvocation %;'s4ly
Allows one to disable dynamic method invocation from the URL .{^5X)
允许动态方法调用 ^\% (,KNo
8,%^
M9zBP
struts.freemarker.manager.classname N"R]Yp;j
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class HiFUv>,u
org.apache.struts2.views.freemarker.FreemarkerManager接口名 @HC Vmg:
~~P5k:
struts.i18n.encoding kTB0b*V
The encoding to use for localization messages Zx@a/jLO[n
国际化信息内码 'LC1(V!_j
}<r)~{UV
struts.i18n.reload $PPi5f}HD
Whether the localization messages should automatically be reloaded Zi
i
是否国际化信息自动加载 Q&;9x? e
b|DdG/O
struts.locale (t|Zn@uY
The default locale for the Struts application w9imKVry
默认的国际化地区信息 *^4"5X@
eByz-,{P
struts.mapper.class <lPG=Xt
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _H%c;z+
org.apache.struts2.dispatcher.mapper.ActionMapper接口 q;CiV
A)!*]o>U
struts.multipart.maxSize '<<t]kK[N
The maximize size of a multipart request (file upload) c?-H>u
multipart请求信息的最大尺寸(文件上传用) t{kG<J/l
Llo"MO*sr
struts.multipart.parser /6*42[r
The org.apache.struts2.dispatcher.multipart. +'a^f5
MultiPartRequest parser implementation for a multipart request (file upload) m0SlOgRsk
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) d0ksG$
/~?*=}c^m
n\DV3rXI9
struts.multipart.saveDir {tZ.v@
The directory to use for storing uploaded files m
s\}
设置存储上传文件的目录夹 t*u:hex
n\53w h@+
struts.objectFactory o.!Dq7R
The com.opensymphony.xwork2.ObjectFactory implementation class 0S~rgq|O
com.opensymphony.xwork2.ObjectFactory接口(spring) ?`ZUR&
20
=,8]nwgo
struts.objectFactory.spring.autoWire >GRxHK@G
Whether Spring should autoWire or not 4HlQ&2O%#
是否自动绑定Spring M2Qr(K|
(A#^l=su
struts.objectFactory.spring.useClassCache `^&OF uee
Whether Spring should use its class cache or not eauF~md,
是否spring应该使用自身的cache 0h_|t-9j
Y3b *a".X
struts.objectTypeDeterminer +0Y&`{#Z
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =H8;iS2R
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6&x@.1('z
7:1Lol-V
struts.serve.static.browserCache c@7rqHU-0
If static content served by the Struts filter should set browser caching header properties or not p5iuYHKk?
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ez$(c
Rm( "=(
struts.serve.static }7Q% 6&IR
Whether the Struts filter should serve static content or not ga +dt
是否struts过滤器应该提供静态内容 ux4POO3C|
i_%_ x*
struts.tag.altSyntax !|(NgzDP/
Whether to use the alterative syntax for the tags or not N6:`/f+A>T
是否可以用替代的语法替代tags 1+s;FJ2}
g-
gV2$I
struts.ui.templateDir "to;\9lP
The directory containing UI templates ]a`$LW}
UI templates的目录夹 0 H:X3y+
WsB ?C&>x
struts.ui.theme 7[)E>XRE
The default UI template theme 4WB0Pt{
默认的UI template主题 ktIFI`@w)
M= (u]%\
struts.url.http.port !Uo4,g6r+
The HTTP port used by Struts URLs $UwCMPs X
设置http端口 ]f_p8?j"
bt?5*ETA
struts.url.https.port ~xFkU#
The HTTPS port used by Struts URLs QXK{bxwC
设置https端口 W=?<<dVYD
?J0y|
struts.url.includeParams Bzf^ivT3L
The default includeParams method to generate Struts URLs 2?Vd 5xkt
在url中产生 默认的includeParams 'g\4O3&_
L4W5EO$
6=C<>c%+
struts.velocity.configfile tw@X>
G1z
The Velocity configuration file path PJ#,2=n~
velocity配置文件路径 ~n_HP_Kf?
He@KV=
struts.velocity.contexts UN#S;x*
List of Velocity context names TWTb?HP
velocity的context列表 ?@x/E&
:A;RH
d=/F}yP~?s
struts.velocity.manager.classname
YmG("z
org.apache.struts2.views.velocity.VelocityManager implementation class @6.vKCSE
org.apache.struts2.views.velocity.VelocityManager接口名 ]SEZaT
sI2^Qp@O1
struts.velocity.toolboxlocation $??I/6
The location of the Velocity toolbox R=?[Nz
velocity工具盒的位置 2=}FBA,2
struts.xslt.nocache [-w%/D%@
Whether or not XSLT templates should not be cached y~V(aih}D
是否XSLT模版应该被缓存 .xkM.g4{~