struts2的struts.properties配置文件详解 ~W{-Q.
v 1+U;Th>g
struts.action.extension 3W&S.$l
The URL extension to use to determine if the request is meant for a Struts action $a#H,Xv#
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 658^"]Rk'/
{eHAg<+
struts.configuration @x{`\AM|%
The org.apache.struts2.config.Configuration implementation class j43$]'-
org.apache.struts2.config.Configuration接口名 G0d&@okbFC
?F@%S3h.
struts.configuration.files f8n
V=AQ
A list of configuration files automatically loaded by Struts {IM! Wb
struts自动加载的一个配置文件列表 }Dfwm)]Q
<hvRP!~<)
struts.configuration.xml.reload 1>pe&n/
Whether to reload the XML configuration or not !Q%P%P<$
是否加载xml配置(true,false) Q{y{rC2P
q``wt
struts.continuations.package c:\shAM&
The package containing actions that use Rife continuations 2 y8~#*O
含有actions的完整连续的package名称 x` /)g(
:tj-gDa\Y
struts.custom.i18n.resources Qn+:/zA;
Location of additional localization properties files to load b2)\
MNH
加载附加的国际化属性文件(不包含.properties后缀) 7P**:b
<$i4?)f(
struts.custom.properties D"l+iVbBP
Location of additional configuration properties files to load j^SZnMQf
加载附加的配置文件的位置 g>j| ]6
SF<Vds}A2
+4)7j&L
struts.devMode p
EusTP
Whether Struts is in development mode or not w *!wQ,o
是否为struts开发模式 ALT^8c&K
LN^f1/b*
struts.dispatcher.parametersWorkaround {1Eu7l-4
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {"}V&X160o
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Sycw %k
m $dV<
struts.enable.DynamicMethodInvocation !m y8AWO'
Allows one to disable dynamic method invocation from the URL kfrY1
允许动态方法调用 elO<a]hX
M\2"gT-LV
struts.freemarker.manager.classname WxUxc75
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %dttE)oH?
org.apache.struts2.views.freemarker.FreemarkerManager接口名 77,oPLSn
+c$I&JO
struts.i18n.encoding #@f[bP}a
The encoding to use for localization messages raUs%Y3
国际化信息内码 eV!L^>>>
ukAKFc^)k
struts.i18n.reload SoQR#(73HK
Whether the localization messages should automatically be reloaded \k@$~}xD,
是否国际化信息自动加载 *75YGD
yfj(Q s
struts.locale uO(w1Q"^
The default locale for the Struts application B!S 167Op
默认的国际化地区信息 a)s;dp}T%
9;=dxWf
struts.mapper.class eph)=F$
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Zq"7,z7
org.apache.struts2.dispatcher.mapper.ActionMapper接口 EU+cca|qS9
"8<K'zeS8
struts.multipart.maxSize m#5_%3T
The maximize size of a multipart request (file upload) {|<"C?
multipart请求信息的最大尺寸(文件上传用) T3,1m=S
K`6z&*
struts.multipart.parser 7 &%^>PU7
The org.apache.struts2.dispatcher.multipart. :8f[|XR4\N
MultiPartRequest parser implementation for a multipart request (file upload) uofr8oL~
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 0!GAk
D d $qQ
b>=_*nw9
struts.multipart.saveDir zF&=U`v
The directory to use for storing uploaded files N|Cs=-+
设置存储上传文件的目录夹 |%7cdMC
`:|@Zln
struts.objectFactory <M+R\SH-
The com.opensymphony.xwork2.ObjectFactory implementation class CboLH0Fa
com.opensymphony.xwork2.ObjectFactory接口(spring) v;2CU
)b4$A:
struts.objectFactory.spring.autoWire W6/ @W
Whether Spring should autoWire or not IApT'QNM
是否自动绑定Spring L36Yx7gT<
[
!%R#+o=F
struts.objectFactory.spring.useClassCache 4[2_,9}
Whether Spring should use its class cache or not /DFV$+9
是否spring应该使用自身的cache }VCI=?-
EtJ8^[u2J
struts.objectTypeDeterminer Ao.\
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class aMuVqZw
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 }SfbCa)UO
7[#xOZT
struts.serve.static.browserCache 8*a),
3aK
If static content served by the Struts filter should set browser caching header properties or not pbk$o{$`W
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 O1y|v[-BW
xTV{^=\rS
struts.serve.static ]7YNIS
Whether the Struts filter should serve static content or not *VeW?mY,P
是否struts过滤器应该提供静态内容 <=um1P3X
%&blJ6b
struts.tag.altSyntax I["j=r
Whether to use the alterative syntax for the tags or not Mt>oI SN&d
是否可以用替代的语法替代tags dJuD|9R
kI\tqNJ i
struts.ui.templateDir J./d!an
The directory containing UI templates ?+C V1 ]
UI templates的目录夹 MXp3g@Cz
nHOr AD|&
struts.ui.theme IQ!Fv/I<
The default UI template theme ](0mjE04<d
默认的UI template主题 GHc/Zc"iX
=\kMXB
struts.url.http.port {3\R|tZh,`
The HTTP port used by Struts URLs d5m`Bm-{
设置http端口 %j,iAUE<
'0aG
N<c
struts.url.https.port }d
Ad$^
The HTTPS port used by Struts URLs k3Cz9Vt%
设置https端口 hvV_xD8|
$W8Cf[a
struts.url.includeParams hwnJE958L
The default includeParams method to generate Struts URLs YlK7;yrq(
在url中产生 默认的includeParams ]7 GlO9
FiAY\4
n> w`26MMp
struts.velocity.configfile B;#J"6w
The Velocity configuration file path EMvHFu
velocity配置文件路径 ,XKCz ]8V
HTjkR*E
struts.velocity.contexts B|Wk?w.{r\
List of Velocity context names : 3ZYJW1
velocity的context列表 b'p4wE>
"jg@w%~
+b$S~0n
struts.velocity.manager.classname #CUzuk&
org.apache.struts2.views.velocity.VelocityManager implementation class pHE}ytcT
org.apache.struts2.views.velocity.VelocityManager接口名
m]Y;c_DO:
K`%tGVY
struts.velocity.toolboxlocation j6:7AH|!)2
The location of the Velocity toolbox K >tf,
velocity工具盒的位置 zd%rs~*c
struts.xslt.nocache %Q"(/jm?
Whether or not XSLT templates should not be cached P7 y q^|
是否XSLT模版应该被缓存 X JGB)3QI