struts2的struts.properties配置文件详解
**0~K" ;\
>uB?rGcM
struts.action.extension 8`{:MkXP
The URL extension to use to determine if the request is meant for a Struts action (m}'4et~L
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 a!SiX
pF >i-i
struts.configuration }&D WaO]J7
The org.apache.struts2.config.Configuration implementation class {WS;dX4
org.apache.struts2.config.Configuration接口名 klYX7?
Dpac^ST
struts.configuration.files c#]4awHU
A list of configuration files automatically loaded by Struts 3`?7<YJ
struts自动加载的一个配置文件列表 T<>,lQs(a
.43'HV
struts.configuration.xml.reload Q\vpqE!9
Whether to reload the XML configuration or not zI uJ-8T"
是否加载xml配置(true,false) =%O6:YM
=I5>$}q_&,
struts.continuations.package ~=LE0. 3[
The package containing actions that use Rife continuations 1.hyCTnI
含有actions的完整连续的package名称 ]5cT cX;Z#
G4;Oi=
struts.custom.i18n.resources {TROoX~H?
Location of additional localization properties files to load *>}@7}f
加载附加的国际化属性文件(不包含.properties后缀) E&w7GZNt
I
34>X`[o
struts.custom.properties a-tmq]]E
Location of additional configuration properties files to load G.B2('
加载附加的配置文件的位置 }>|s=uGW
/maJtX'
W@IQ^
}E
struts.devMode ,qwuLBW
Whether Struts is in development mode or not ue"~9JK.
是否为struts开发模式 ATyEf5Id_
lVa%$F{Pq
struts.dispatcher.parametersWorkaround j;r-NCBnz
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {Xy5pfW
Q
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) JR|ck=tq
1I6px$^E\
struts.enable.DynamicMethodInvocation r;2^#6/Z
Allows one to disable dynamic method invocation from the URL .Hm>i
允许动态方法调用 >:!5*E5?
_f,C[C[e&
struts.freemarker.manager.classname ({_{\9O,3
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class c6]U E@A
org.apache.struts2.views.freemarker.FreemarkerManager接口名 s8Q 5ui]
:-Z2:/P
struts.i18n.encoding qR{=pR
The encoding to use for localization messages cjY-y-vO
国际化信息内码 ?^{Ah}x
Izc\V9+
struts.i18n.reload %1L,Y
Whether the localization messages should automatically be reloaded kD%( _K5
是否国际化信息自动加载 i]4I [!
]W!0$'o
struts.locale !qg`/y9
The default locale for the Struts application q2j{tP#
默认的国际化地区信息 >=>2m2z=
Or+U@vAnk
struts.mapper.class :cECRm*
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class o|:b;\)b
org.apache.struts2.dispatcher.mapper.ActionMapper接口 "sCRdx]_
U)gH}0n&
struts.multipart.maxSize =WATyY:s
The maximize size of a multipart request (file upload) _VN?#J)o
multipart请求信息的最大尺寸(文件上传用) 6 "sSo j
B9 uoVcW
struts.multipart.parser yyJf%{
The org.apache.struts2.dispatcher.multipart. ]m<$}
MultiPartRequest parser implementation for a multipart request (file upload) I236RIq
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)
(ZizuHC
F>l]
9!P|m
?l )[7LR4
struts.multipart.saveDir Avc%2+
The directory to use for storing uploaded files \\qZl)P_
设置存储上传文件的目录夹 59A}}.@?m
)akoa,#%6c
struts.objectFactory LL!Dx%JZ
The com.opensymphony.xwork2.ObjectFactory implementation class 8<.Oq4ku
com.opensymphony.xwork2.ObjectFactory接口(spring) Il'fL'3
t*u:hex
struts.objectFactory.spring.autoWire +6\Zj)
Whether Spring should autoWire or not <'*LRd$1
是否自动绑定Spring ]ieeP4*
;^*W+,4WB
struts.objectFactory.spring.useClassCache *)Zdz9E'1(
Whether Spring should use its class cache or not f6Ah6tb
是否spring应该使用自身的cache oc`H}Wvn
F41=b4/
struts.objectTypeDeterminer n>YKa)|W`
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class NLqzi%s
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 da(<K}
PZ9I`P!C
struts.serve.static.browserCache tsjrRMR
If static content served by the Struts filter should set browser caching header properties or not cwg"c4V
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 z:*|a+cy
D,feF9
struts.serve.static ,qxu|9L
Whether the Struts filter should serve static content or not bn5 Su=]
是否struts过滤器应该提供静态内容 25?6gu*Z
ICQKP1WFp
struts.tag.altSyntax .q>iXE_c
Whether to use the alterative syntax for the tags or not C'x&Py/#
是否可以用替代的语法替代tags :o3N;*o>)0
l_p2Riv
struts.ui.templateDir ,J@
The directory containing UI templates S1_RjMbYM
UI templates的目录夹 #6=
rILYI;'o
struts.ui.theme lf,5w
The default UI template theme ms]sD3z/W+
默认的UI template主题 ]a`$LW}
0 H:X3y+
struts.url.http.port WsB ?C&>x
The HTTP port used by Struts URLs 7[)E>XRE
设置http端口 4WB0Pt{
[(lW^-
struts.url.https.port M= (u]%\
The HTTPS port used by Struts URLs !Uo4,g6r+
设置https端口 $UwCMPs X
]f_p8?j"
struts.url.includeParams bt?5*ETA
The default includeParams method to generate Struts URLs ~xFkU#
在url中产生 默认的includeParams QXK{bxwC
W=?<<dVYD
?J0y|
struts.velocity.configfile Bzf^ivT3L
The Velocity configuration file path I?CZQ+}Hq
velocity配置文件路径 i
ct])
H5|;{q:j
struts.velocity.contexts Pm7}"D'/
List of Velocity context names tw@X>
G1z
velocity的context列表 @0''k
jP.dDYc
{JLtE{
struts.velocity.manager.classname ^\m![T\bX
org.apache.struts2.views.velocity.VelocityManager implementation class nw<uyaU-t
org.apache.struts2.views.velocity.VelocityManager接口名 [a(#1
xmoxZW:
struts.velocity.toolboxlocation :3 mh@[V
The location of the Velocity toolbox +}AI@+
velocity工具盒的位置 "AqB$^S9t
struts.xslt.nocache 8oGRLYU N
Whether or not XSLT templates should not be cached 2 %]X+`+O
是否XSLT模版应该被缓存 AbM'3Mkz