struts2的struts.properties配置文件详解 M6 >\R$
;hJ/t/7
struts.action.extension rQQPs\o
The URL extension to use to determine if the request is meant for a Struts action b<8J ;u<
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 %?{2uMfq-f
#L*@~M^]
struts.configuration MAhPO!e5.
The org.apache.struts2.config.Configuration implementation class kpMM%"=V
org.apache.struts2.config.Configuration接口名 4 >tYMyLt0
$!3t$-TSD
struts.configuration.files <?va)
ou
A list of configuration files automatically loaded by Struts L5N{ie_
struts自动加载的一个配置文件列表 e^fKatI1
$A!h=]
struts.configuration.xml.reload @^4M~F%
Whether to reload the XML configuration or not }T*xT>p^3
是否加载xml配置(true,false) W;@ae,^
8J(zWV7 r
struts.continuations.package #d i_V"
The package containing actions that use Rife continuations ?~y(--.t;T
含有actions的完整连续的package名称 2n+XML
(/P&;?j
struts.custom.i18n.resources Bc@r*zb
Location of additional localization properties files to load YV!V9
加载附加的国际化属性文件(不包含.properties后缀) oX]1>#5UMg
25@j2K (
struts.custom.properties L}S4Zz18
Location of additional configuration properties files to load O?J:+L(
加载附加的配置文件的位置 M{kh=b)V
2]3Jb{8FI>
g4qdm{BL
struts.devMode xwp?2,<
Whether Struts is in development mode or not WatLAn+
是否为struts开发模式 YaZ"&i
&-)Y[#\J
struts.dispatcher.parametersWorkaround ML"P"&~u6
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic f?I *`~k
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &``oZvuB
Jt,
4@
struts.enable.DynamicMethodInvocation N S}`(N
Allows one to disable dynamic method invocation from the URL G(3la3\(
允许动态方法调用 "^e?E:( 3
Gbm_xEPC
struts.freemarker.manager.classname M[N.H9
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class t4c#' y
org.apache.struts2.views.freemarker.FreemarkerManager接口名 imq(3?
=]mx"0i[
struts.i18n.encoding bvRGTOxO
The encoding to use for localization messages >"{zrwNq
国际化信息内码 7?WBzo!!L
w=>mG-
struts.i18n.reload 3kQ8*S
Whether the localization messages should automatically be reloaded BiCa "
是否国际化信息自动加载 Sg~A'dG
oi4Wxcj
struts.locale v23Uh2[@Yy
The default locale for the Struts application 'm? x2$u8
默认的国际化地区信息 AFJY!ou~6
IGV.0l
struts.mapper.class D
;I;,Z
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class __%E!*m"<_
org.apache.struts2.dispatcher.mapper.ActionMapper接口 \k-juF80
_%%"Y}
struts.multipart.maxSize (>`SS#(T!
The maximize size of a multipart request (file upload)
x`l;
;
multipart请求信息的最大尺寸(文件上传用) w:+#,,rwzV
Bzt`9lg
struts.multipart.parser QNwAuH T
The org.apache.struts2.dispatcher.multipart. r:rJv
MultiPartRequest parser implementation for a multipart request (file upload) F76h
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _VJwC|
oT{yttSNo
9yAu<a
struts.multipart.saveDir 1Sk6[h'CL
The directory to use for storing uploaded files ,PxQ[CGg
设置存储上传文件的目录夹 w o9f99
~y^lNgujO
struts.objectFactory Y.
tFqzo3
The com.opensymphony.xwork2.ObjectFactory implementation class '+tT$k
com.opensymphony.xwork2.ObjectFactory接口(spring) ,WK$jHG]
m6<0 hP
struts.objectFactory.spring.autoWire P;/wb/
Whether Spring should autoWire or not %-|q3 ^s
是否自动绑定Spring bu9&sQ;
wcT6d?*5
struts.objectFactory.spring.useClassCache fG5} '8
Whether Spring should use its class cache or not o^6 j(~
是否spring应该使用自身的cache agD.J)v\
MCG~{#`
struts.objectTypeDeterminer rL"k-5>fd
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =)5a=^
6
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 >iJuR.:OO
=6YO!B>7
struts.serve.static.browserCache 3mz>Y*^?0
If static content served by the Struts filter should set browser caching header properties or not Yk&{VXU<
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8QBL:7<
MoHvXp;X
struts.serve.static ') y~d
Whether the Struts filter should serve static content or not |%;txD
是否struts过滤器应该提供静态内容 X;>} ;LiK
X6 cb#s0|
struts.tag.altSyntax b<7qmg3
Whether to use the alterative syntax for the tags or not 3<V!y&a
是否可以用替代的语法替代tags P9wDTZ
:4
nQmYeM
struts.ui.templateDir +[`%b3N k
The directory containing UI templates 5~0;R`D
UI templates的目录夹 EBLoRW=8ld
;mlIWn
struts.ui.theme bOKNWI
The default UI template theme giJyMd}x
默认的UI template主题 ~C
x2Q4E
Tyl"N{ _
struts.url.http.port +,>bpp1
The HTTP port used by Struts URLs D<6kAGE
设置http端口 #::vMnT
HpAZ{P7
struts.url.https.port *X=-^\G
The HTTPS port used by Struts URLs KL`>mJo$
设置https端口 v}D!
tYa8I/HpT
struts.url.includeParams 0MPDD%TP
The default includeParams method to generate Struts URLs 0yNlf-O
在url中产生 默认的includeParams 2jC\yY |PN
WE]^w3n9
&N ;6G`3
struts.velocity.configfile k0?6.[ku
The Velocity configuration file path 4iW2hV@m
velocity配置文件路径 [_@OCiV5)
*[n^6)
struts.velocity.contexts .5xg;Qg\Y
List of Velocity context names *JXJ
2
velocity的context列表 $0t
%}DE
gs>cx]>
~!kbB4`WK
struts.velocity.manager.classname ;v\n[
org.apache.struts2.views.velocity.VelocityManager implementation class VRt*!v<")
org.apache.struts2.views.velocity.VelocityManager接口名 cqp#1oM4M
sA.yb,Fw
struts.velocity.toolboxlocation ` 454=3H
The location of the Velocity toolbox =T]OYk
velocity工具盒的位置 p.|;
k%c7
struts.xslt.nocache bP@_4Dy
Whether or not XSLT templates should not be cached bHnQLJ
是否XSLT模版应该被缓存 R&0l4g-4>