struts2的struts.properties配置文件详解 O;Y:uHf
neF]=uCWnT
struts.action.extension *!e(A ]&
The URL extension to use to determine if the request is meant for a Struts action <-Bx&Q
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &<'n^n
a?5[k}\
struts.configuration Z(0@1l`Z-`
The org.apache.struts2.config.Configuration implementation class B#%;Qc
org.apache.struts2.config.Configuration接口名 V_n<?9^4
X2 6
struts.configuration.files %bXtKhg5eJ
A list of configuration files automatically loaded by Struts Mn: /1eY
struts自动加载的一个配置文件列表 /(C~~XP)
7sNw
struts.configuration.xml.reload 1YxgR}7
Whether to reload the XML configuration or not H&}ipaDO
是否加载xml配置(true,false) ^t"iX9
S*)1|~pRvQ
struts.continuations.package %i0?UpA
The package containing actions that use Rife continuations 7B9 `<{!h
含有actions的完整连续的package名称 >?W[PQ5 yx
{Z;t ^:s#
struts.custom.i18n.resources G28O%jD?
Location of additional localization properties files to load DrW#v-d
加载附加的国际化属性文件(不包含.properties后缀) [|`U6
8}u
-_VG;$,jE
struts.custom.properties }f>H\iJe
Location of additional configuration properties files to load + bhym+
加载附加的配置文件的位置 vdoZ&Tu
@MR?6 n*k
CR<`ZNuWz
struts.devMode v{x{=M]
Whether Struts is in development mode or not -]G(ms;}/Y
是否为struts开发模式 (LAXM
x
2i#Sn' 1
struts.dispatcher.parametersWorkaround (kBP(2V
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ?|;yVew
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5-u=o)>
u<ySd?
struts.enable.DynamicMethodInvocation eHg3}b2r
Allows one to disable dynamic method invocation from the URL w]j+9-._
允许动态方法调用 H %f:K2
CENVp"C/`
struts.freemarker.manager.classname lVH<lp_ZtK
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class f,i5iSYf
org.apache.struts2.views.freemarker.FreemarkerManager接口名
Zc&&[g
>:sUL<p
struts.i18n.encoding tS# `.F~y
The encoding to use for localization messages 5 +9Ze9
国际化信息内码 :bU(S<%M
Ac k}QzXO
struts.i18n.reload :HViX:]H
Whether the localization messages should automatically be reloaded +~Cy$MCX
是否国际化信息自动加载 Fr?z"
e59dVFug.U
struts.locale P3tx|:gV
The default locale for the Struts application G1T^a>tj4
默认的国际化地区信息 Q'apG)0I
!v#xb3"/
struts.mapper.class fg%&N2/(.B
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _,h@:Xij
org.apache.struts2.dispatcher.mapper.ActionMapper接口 =(AtfW^H
n_K~vD
struts.multipart.maxSize V)o,1
The maximize size of a multipart request (file upload) \J^
multipart请求信息的最大尺寸(文件上传用) 2+8#H.
y9Y1PH7G
struts.multipart.parser ]bCq=6ZKR
The org.apache.struts2.dispatcher.multipart. ]
7;f?+
MultiPartRequest parser implementation for a multipart request (file upload) ][PzgzG
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~o3Hdd_#}N
C}g9'jY
}7<5hn E
struts.multipart.saveDir Zwt; d5U
The directory to use for storing uploaded files \~rlgxd
设置存储上传文件的目录夹 "+ "{+k5t
"GT4s?6O
struts.objectFactory @!=\R^#p
The com.opensymphony.xwork2.ObjectFactory implementation class {kI#A?M
com.opensymphony.xwork2.ObjectFactory接口(spring) f}%D"gz
JM$.O;y
-
struts.objectFactory.spring.autoWire nHFrG
=o,
Whether Spring should autoWire or not "LhUxnll
是否自动绑定Spring .o{0+fC#
1tzV8(7
struts.objectFactory.spring.useClassCache pI`?(5iK6|
Whether Spring should use its class cache or not ~.Ik#At
是否spring应该使用自身的cache G*
%t'jX9
wl=61Mb
struts.objectTypeDeterminer -OZ 5vH0
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^:, l\Y
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 RH0>ZZR
c2l_$p
struts.serve.static.browserCache i yYJR
If static content served by the Struts filter should set browser caching header properties or not mbl]>JsQD
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 y2HxP_s?P?
= 64r:E
struts.serve.static Eq%@"-mo
Whether the Struts filter should serve static content or not D,l,`jv*
是否struts过滤器应该提供静态内容 %9C@ Xl
B=L&bx
struts.tag.altSyntax j'%4{n
Whether to use the alterative syntax for the tags or not iItcN;;7
是否可以用替代的语法替代tags q*jNH\|
W~T}@T:EN
struts.ui.templateDir #PvB/3
The directory containing UI templates aAvsb$
UI templates的目录夹 4wzlJ19E(
Qq-"Cg@-/
struts.ui.theme SD\=
m/W
The default UI template theme /{2*WI;
默认的UI template主题 }n,Zl>T9
Myat{OF
struts.url.http.port dth&?/MERL
The HTTP port used by Struts URLs 5@Bu99`
设置http端口 ]36sZ
*
qr\!*\9
struts.url.https.port I<b?vR 'F
The HTTPS port used by Struts URLs VvbFp
设置https端口 MWk:sBCqr
;#G oGb4AM
struts.url.includeParams jd`},X /
The default includeParams method to generate Struts URLs tL
SN`6[:
在url中产生 默认的includeParams $Kj&)&M
%b.UPS@I
q}Z3?W
struts.velocity.configfile 8{U-m0v
The Velocity configuration file path FxG7Pk+=
velocity配置文件路径 6Z?j AXGSq
@xsP5je]
struts.velocity.contexts aMARZ)V
List of Velocity context names v;#=e$%}MO
velocity的context列表 {@}?k s5
.Jb$l$5'w
b<I9 MR
struts.velocity.manager.classname UnDgu4#R`A
org.apache.struts2.views.velocity.VelocityManager implementation class 5y2?
f
org.apache.struts2.views.velocity.VelocityManager接口名 aFiCZHohw
r9 y.i(j
struts.velocity.toolboxlocation kyh_9K1
The location of the Velocity toolbox _zxLwU1(x
velocity工具盒的位置 ulHn#)
struts.xslt.nocache 8 S`9dSc
Whether or not XSLT templates should not be cached .N4
是否XSLT模版应该被缓存 .UCt|> $