struts2的struts.properties配置文件详解 AS-t][m#
,]N%(>ot
struts.action.extension e:D9;`C
The URL extension to use to determine if the request is meant for a Struts action I }I/dh
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #AnSjl
YU"\Wd[
struts.configuration %l P
The org.apache.struts2.config.Configuration implementation class @Sd:]h:f-
org.apache.struts2.config.Configuration接口名 4 sgwQ$m)
u:kY4T+Z
struts.configuration.files k EDZqUD
A list of configuration files automatically loaded by Struts L|'ME|
'
struts自动加载的一个配置文件列表
2Ab#uPBn
E|#R0n*
struts.configuration.xml.reload VNot4 62L
Whether to reload the XML configuration or not %* ;
8m'
是否加载xml配置(true,false) hWe}(Ks
Xr;noV-X
struts.continuations.package W3j|%
The package containing actions that use Rife continuations l[0P*(I,
含有actions的完整连续的package名称 6spk* 8e
u(a&x|WY
struts.custom.i18n.resources 6?x{-Zj^?
Location of additional localization properties files to load vrDRSc6_
加载附加的国际化属性文件(不包含.properties后缀) < tq9
ty=?SZF
struts.custom.properties 2g545r.
Location of additional configuration properties files to load \<>%_y'/)h
加载附加的配置文件的位置 a<36`#N
z=pV{'
.T
X& X
struts.devMode oh)l\
Whether Struts is in development mode or not UAO#$o(
是否为struts开发模式 oU5mrS.7M!
E cz"O
struts.dispatcher.parametersWorkaround \+A<s,x
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic JNl+UH:.
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 1/BMs0 =
nU *fne?
struts.enable.DynamicMethodInvocation `3n*4Lz
Allows one to disable dynamic method invocation from the URL G* 6<pp
允许动态方法调用 SX,zJ`"
[63;8l}
struts.freemarker.manager.classname .ai9PsZ?V
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (}8 ;3pp
org.apache.struts2.views.freemarker.FreemarkerManager接口名 K)@Buu&,p
tAi9mm;k
struts.i18n.encoding X*q
C:]e
The encoding to use for localization messages R/YL1s
国际化信息内码 3?(p;
!AHm+C_=Lg
struts.i18n.reload _q$fw&
Whether the localization messages should automatically be reloaded `roSOX1f
是否国际化信息自动加载 Oei2,3l,?
(%!R
struts.locale FI5C&d5d
The default locale for the Struts application ?R} oXSVT
默认的国际化地区信息 s~w+bwr
L,/i%-J3c
struts.mapper.class #|i{#~gxM
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 4BtdN-T}b
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]~ M
-KT
L?(rv.lb
struts.multipart.maxSize Bb`^,?m
The maximize size of a multipart request (file upload) rI789q
multipart请求信息的最大尺寸(文件上传用) [DEw:%
m m`3-F|
struts.multipart.parser A6L}5#7-
The org.apache.struts2.dispatcher.multipart. NR@Tj]`k
MultiPartRequest parser implementation for a multipart request (file upload) uHCgIR
l>
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) t}gqk'
R<Tzt'z
bb/MnhB
struts.multipart.saveDir A'EA !
The directory to use for storing uploaded files <`q o*__1
设置存储上传文件的目录夹 .D`#a
C%>7mz-v5
struts.objectFactory M(jH"u&f
The com.opensymphony.xwork2.ObjectFactory implementation class 4UkLvL1x
com.opensymphony.xwork2.ObjectFactory接口(spring) /B7
GH5
dp+Y?ufr
struts.objectFactory.spring.autoWire mY(
_-[W
Whether Spring should autoWire or not ]H[\~J
是否自动绑定Spring 5i?U-
0=DawJ9
struts.objectFactory.spring.useClassCache <H/H@xQ8G
Whether Spring should use its class cache or not 5?MvO]_
是否spring应该使用自身的cache <|iU+.j\
')V5hKb^
struts.objectTypeDeterminer -y(V-
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class B=Os?'2[
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0]~n8mB>
quYZD6IH
struts.serve.static.browserCache HfiM]^
If static content served by the Struts filter should set browser caching header properties or not |O?Aj1g[c?
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &i!]
)frtvN7
struts.serve.static A9gl|II
Whether the Struts filter should serve static content or not iz(+(M
是否struts过滤器应该提供静态内容 '3VrHL@@g
Z}wAh|N-
struts.tag.altSyntax VJaL$Wv)H
Whether to use the alterative syntax for the tags or not \zwb> ^
是否可以用替代的语法替代tags L\[jafb_`
~^*tIIOX
struts.ui.templateDir th)jEK;Z
The directory containing UI templates {xX|5/z
UI templates的目录夹 Dr:}k*
~k3r$e@
struts.ui.theme ![V-
e
The default UI template theme @:I/lg=Qd
默认的UI template主题 M{QNpoM
HPQ ,tlp6j
struts.url.http.port @\R)k(F
The HTTP port used by Struts URLs ^-_!:7TH]
设置http端口 (XH)1 -Z!
zU%aobZ
struts.url.https.port \=<.0K A~
The HTTPS port used by Struts URLs 5\J;EWTU
设置https端口 oSoG&4
K\q/JuDfc
struts.url.includeParams 2h!3[{M\
The default includeParams method to generate Struts URLs ES> 3Cf
在url中产生 默认的includeParams OjI*HC
C&T3vM
ElAG~u?
struts.velocity.configfile e|LXH/H
The Velocity configuration file path DxBt83e
velocity配置文件路径 &}uO ]0bR
pK`rm"6G
struts.velocity.contexts P,wJ@8lv
List of Velocity context names u$"5SGI6
velocity的context列表 s"/8h#!zv
eD3F%wxz
^:#%TCJ
struts.velocity.manager.classname pLU>vQA
org.apache.struts2.views.velocity.VelocityManager implementation class S]>_o "|HV
org.apache.struts2.views.velocity.VelocityManager接口名 L{-w9(S`i
<5q }j-Q
struts.velocity.toolboxlocation Ou%>Dd5|?
The location of the Velocity toolbox lV?SvXe
velocity工具盒的位置 lFcCWy
struts.xslt.nocache KlPH.R3MPO
Whether or not XSLT templates should not be cached jc<3\ 7
是否XSLT模版应该被缓存 weOMYJO;8