struts2的struts.properties配置文件详解 C)w*aU,(
@Hh"Y1B
struts.action.extension ,)1e+EnV&
The URL extension to use to determine if the request is meant for a Struts action 1*h7L<#|mQ
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 9:o3JGHSc
B*IDx`^Y
struts.configuration 6K}=K?3Z
The org.apache.struts2.config.Configuration implementation class iE(grI3
org.apache.struts2.config.Configuration接口名 j`B{w
P vwIO_W
struts.configuration.files CCO g1X_
A list of configuration files automatically loaded by Struts SO/]d70HG
struts自动加载的一个配置文件列表 pZxL?N!
OB22P%
struts.configuration.xml.reload 5b p"dIe
Whether to reload the XML configuration or not &v,p_'k
是否加载xml配置(true,false) U@nwSfp:G
hT"K}d;X
struts.continuations.package E6M: ^p*<
The package containing actions that use Rife continuations _ GSw\r
含有actions的完整连续的package名称 N/BU%c
ph+
'Aj>+H<B
struts.custom.i18n.resources 99K+7G\{
Location of additional localization properties files to load N &=2 /
加载附加的国际化属性文件(不包含.properties后缀) |U
$-d^ZJ
]?{lQ0vw'w
struts.custom.properties AHJ;>"]
Location of additional configuration properties files to load /&7Yi_]r
加载附加的配置文件的位置 #LJ-IDuF!
(N4(r<o;
'OCo1|iK~
struts.devMode %<yM=1~>
Whether Struts is in development mode or not M7,MxwZ0k
是否为struts开发模式 >N-%
"6Uj:9
struts.dispatcher.parametersWorkaround
+;;%Atgn
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic
}8 _9V|E
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) J_|x^
(B<AK4G
struts.enable.DynamicMethodInvocation KTt$Pt/.
Allows one to disable dynamic method invocation from the URL 79H+~1Az
允许动态方法调用 (14kR
B}+9U
struts.freemarker.manager.classname &Q>'U6"%
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class nD\os[ 3
org.apache.struts2.views.freemarker.FreemarkerManager接口名 [dlH
t;S
J|S^K kC
struts.i18n.encoding mcr#Ze
The encoding to use for localization messages 3ohcHQ/a
国际化信息内码 ( y*X8
E2'e}RQ
struts.i18n.reload ZGhoV#T@
Whether the localization messages should automatically be reloaded %+a@|Z
是否国际化信息自动加载 WG} CPkj
K- C-+RB
struts.locale [nIG_j>D-f
The default locale for the Struts application 389.&`Q%Ut
默认的国际化地区信息 a] =\h'S
9t.yP;j\Y
struts.mapper.class jSp&mD*xv
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M l?)Sc"\7
org.apache.struts2.dispatcher.mapper.ActionMapper接口 PRC)GP&q
es+_]:7B9
struts.multipart.maxSize B@inH]wq
The maximize size of a multipart request (file upload) wS*CcIwj
multipart请求信息的最大尺寸(文件上传用) 1Z8Oh_DC
O'|P|
struts.multipart.parser 2Q|*xd4B^
The org.apache.struts2.dispatcher.multipart. UMQW#$~C{g
MultiPartRequest parser implementation for a multipart request (file upload) o~_>p/7;
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5'Jh2r
N('DIi*or
T,2Dr;
struts.multipart.saveDir 2%C5P0;QX
The directory to use for storing uploaded files 7u5\#|yL
设置存储上传文件的目录夹 OKP_3Ns
ESjJHZoD(
struts.objectFactory g{)H"
8L
The com.opensymphony.xwork2.ObjectFactory implementation class nvo1+W(%
com.opensymphony.xwork2.ObjectFactory接口(spring) w })Pedg
xWz;5=7a]
struts.objectFactory.spring.autoWire }lUpC}aq_
Whether Spring should autoWire or not XqS*;Zj0
是否自动绑定Spring p[F=L P
^.kAZSgO
struts.objectFactory.spring.useClassCache ZQ-`l:G
Whether Spring should use its class cache or not tW"ptU^9)
是否spring应该使用自身的cache 1idjX"'
'oZn<c`
struts.objectTypeDeterminer kJi&9
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class tr9Y1vxo{
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {-N90Oe
pkf OM"5'
struts.serve.static.browserCache 2vdQ&H4
If static content served by the Struts filter should set browser caching header properties or not *a,.E6C*
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |4> r"
7h9[-d6
struts.serve.static R|J>8AL}BY
Whether the Struts filter should serve static content or not [S&O-b8A
是否struts过滤器应该提供静态内容 fw v
T2G4
aU<D$I
struts.tag.altSyntax roj04|
Whether to use the alterative syntax for the tags or not
G<-9U}~76
是否可以用替代的语法替代tags dwbY"t[9
*RbOQ86vP
struts.ui.templateDir (&S[R{=^j
The directory containing UI templates x$?7)F&z
UI templates的目录夹 LF)a"Sh
Y:!/4GF
struts.ui.theme ]VG84bFm
The default UI template theme ?~JxO/K
默认的UI template主题 MRg\FR2>1
T19rbL_
struts.url.http.port u~- fK'/!|
The HTTP port used by Struts URLs QB3d7e)8>
设置http端口 Prb_/B Dd
t#pqXY/;D
struts.url.https.port a;'E}b{`F
The HTTPS port used by Struts URLs x #X#V\w=
设置https端口 A6UdWK
]AZ\5C-J
struts.url.includeParams M`+e'vdw
The default includeParams method to generate Struts URLs *JY`.t
在url中产生 默认的includeParams O})u'
N~S[xS?
H")N_BB
struts.velocity.configfile /=YqjZTCq
The Velocity configuration file path B#k3"vk#
velocity配置文件路径 MpIw^a3(r
HEB/\
struts.velocity.contexts mB^I@oZ*
List of Velocity context names AJ?}Hel[0
velocity的context列表 E/8u'
/x:(SR2,
e8ULf~I
struts.velocity.manager.classname :
>wQwf
org.apache.struts2.views.velocity.VelocityManager implementation class 4&oXy,8LC
org.apache.struts2.views.velocity.VelocityManager接口名 ,+\4
'`
vJj:9KcP>h
struts.velocity.toolboxlocation by|?g8
The location of the Velocity toolbox *pb:9JKi
velocity工具盒的位置 N5f0|U&
struts.xslt.nocache tf7v5iG e
Whether or not XSLT templates should not be cached >1a\%G
是否XSLT模版应该被缓存 @W1WReK]f