struts2的struts.properties配置文件详解 wd..{j0&
1ReO.Dd`R
struts.action.extension f
IQ$a>
The URL extension to use to determine if the request is meant for a Struts action [FF%HRce,.
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 8*>6+"w
sw{EV0&>m
struts.configuration
A-ir
The org.apache.struts2.config.Configuration implementation class > ^n'
org.apache.struts2.config.Configuration接口名 2NIK0%6
;oob
TW{
struts.configuration.files saU|.\l
A list of configuration files automatically loaded by Struts <MT_zET
struts自动加载的一个配置文件列表 ~u,g5
i1FFf[[ L
struts.configuration.xml.reload | =N8X
Whether to reload the XML configuration or not /~J#c=
是否加载xml配置(true,false) 0/{-X[z
aJI>qk h?]
struts.continuations.package S U2`H7C*
The package containing actions that use Rife continuations 6M+~{9(S
含有actions的完整连续的package名称 #3kR}Amow
2}~1poyi>
struts.custom.i18n.resources CM9+h;Zm
Location of additional localization properties files to load &>L\unS
加载附加的国际化属性文件(不包含.properties后缀) ,o*b-Cv/
[A*vl9=
struts.custom.properties Gxm+5q
Location of additional configuration properties files to load |],{kUIXO
加载附加的配置文件的位置 47`{ e_YP0
t!D=oBCro
*7BY$q
struts.devMode !G`w@E9M)
Whether Struts is in development mode or not 2ZIf@C{P.
是否为struts开发模式
pfZn<n5p
6S"bW)O
struts.dispatcher.parametersWorkaround =*"Amd,
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic uW Q`
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ik7#Og~3
L_)?5IOJ$
struts.enable.DynamicMethodInvocation 5!tmG- 'b
Allows one to disable dynamic method invocation from the URL ;)"r^M)):
允许动态方法调用 MSRIG-
5A~w_p*}
struts.freemarker.manager.classname 3w!oJB
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 1hi^
org.apache.struts2.views.freemarker.FreemarkerManager接口名 \&ERSk2
@_N -> l
struts.i18n.encoding aH'^`]'_=
The encoding to use for localization messages ; bP7|
国际化信息内码 |06J4H~k
;PG'em
struts.i18n.reload clG3t
eC
Whether the localization messages should automatically be reloaded 4sNM#]%|
是否国际化信息自动加载 Lm-}W "7
OSfwA&
struts.locale PCt&66F
The default locale for the Struts application 8Q#&=]W$
默认的国际化地区信息 97F$$d54T
Br\/7F
struts.mapper.class V&h,v%$
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2kCJqyWy
org.apache.struts2.dispatcher.mapper.ActionMapper接口 6K?+ad Klc
^4 es
struts.multipart.maxSize 5>h2WL
The maximize size of a multipart request (file upload) pA+Qb.z5z
multipart请求信息的最大尺寸(文件上传用) -lb}}z+/
X903;&Cim
struts.multipart.parser oDKgW?x
The org.apache.struts2.dispatcher.multipart. #z~D1Zl
MultiPartRequest parser implementation for a multipart request (file upload) Wd~}O<"
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 9FPl
g6
7* Bs
NmOQ7T
struts.multipart.saveDir GbB&kE3KP
The directory to use for storing uploaded files zx=A3I%7 A
设置存储上传文件的目录夹 @OwU[\6fc}
>6jyd{
struts.objectFactory R`TM@aaS:
The com.opensymphony.xwork2.ObjectFactory implementation class [>C^ 0\Z~
com.opensymphony.xwork2.ObjectFactory接口(spring) ag|d_;
mI0|lp 1$
struts.objectFactory.spring.autoWire ks(PH6:]<
Whether Spring should autoWire or not Z;WqKIM#
是否自动绑定Spring G=yQYsC$
Y*w<~m
struts.objectFactory.spring.useClassCache -pg7>vO q
Whether Spring should use its class cache or not {Z-5
是否spring应该使用自身的cache tC|5;'m.2
M&Ycw XV:Z
struts.objectTypeDeterminer q' _
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class :V+t|@m5l
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 tkNuM0
':.d,x)
struts.serve.static.browserCache LjxTRtB_
If static content served by the Struts filter should set browser caching header properties or not F\,3z7s
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Y`lC4*g
Z [68ji]
struts.serve.static <;v{`@\j{
Whether the Struts filter should serve static content or not J
)@x:,o
是否struts过滤器应该提供静态内容 ~POe0!}
%pTbJaM\U
struts.tag.altSyntax 4I {|M,+
Whether to use the alterative syntax for the tags or not Eq'{uV:
是否可以用替代的语法替代tags QD\S E
RsTpjY*Xb
struts.ui.templateDir .z+QyNc:
The directory containing UI templates )I!l:!Ij*D
UI templates的目录夹 -#)xeW.d
p9l&K/
struts.ui.theme
n-H0cm
The default UI template theme H3`%#wQ0j
默认的UI template主题 J
fsCkS
!H?#~{
W}
struts.url.http.port mRQ F5W6
The HTTP port used by Struts URLs .0\Wu+
设置http端口 li/O&@g`
Q?[k>fu0
struts.url.https.port eN}FBX#'
The HTTPS port used by Struts URLs zZ;tSKL
设置https端口 G=~T)e
U%w-/!p
struts.url.includeParams `33h4G
The default includeParams method to generate Struts URLs %o^'(L@z
在url中产生 默认的includeParams m;Sw`nw?
-R6z/P(}
W-Hw%bwN/q
struts.velocity.configfile VZ_4B *D
The Velocity configuration file path J5|Dduv
velocity配置文件路径 H+*o @0C\~
T*A_F
[
struts.velocity.contexts ]IyC
List of Velocity context names HnOp*FP
velocity的context列表 ''f
A:NsDEt
7cvbYP\<lv
struts.velocity.manager.classname sVh!5fby&
org.apache.struts2.views.velocity.VelocityManager implementation class `$MO.K{
org.apache.struts2.views.velocity.VelocityManager接口名 gI\J sN
3+n&Ya1
struts.velocity.toolboxlocation LX*T<|c`'
The location of the Velocity toolbox `"-)ObOj}
velocity工具盒的位置 OmKT}D~ 4
struts.xslt.nocache Q6}`%
Whether or not XSLT templates should not be cached K
7YpGGd5
是否XSLT模版应该被缓存 b?HW6Kfc