struts2的struts.properties配置文件详解 n-Qpg
C@8WY
struts.action.extension <h"*"q|9
The URL extension to use to determine if the request is meant for a Struts action 3+v+_I>%k
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 9/x_p;bI
D>~S-]
struts.configuration %ut7T!Jp
The org.apache.struts2.config.Configuration implementation class yF#:*Vz>
org.apache.struts2.config.Configuration接口名 {_{&t>s2
JG=U@I]
struts.configuration.files jdF~0#vH
A list of configuration files automatically loaded by Struts j;+!BKWy4
struts自动加载的一个配置文件列表 T)QT_ST.9
STxreW1
struts.configuration.xml.reload M9aVE)*!I
Whether to reload the XML configuration or not s{]2~Z^2od
是否加载xml配置(true,false) =p
lG9
Z}
8m]I
struts.continuations.package ~!Q\\_
The package containing actions that use Rife continuations <&$:$_ah
含有actions的完整连续的package名称 ;| :^zo
-'9sn/
struts.custom.i18n.resources u0vq`5L
Location of additional localization properties files to load 0R0j7\{
加载附加的国际化属性文件(不包含.properties后缀) Qs^RhF\d
;1&7v
struts.custom.properties n #|p R2
Location of additional configuration properties files to load =
+=k(*
加载附加的配置文件的位置 qL03iV#h*V
dgIEc]#pH
pxs#OP
struts.devMode y,`SLgBID
Whether Struts is in development mode or not dt efDsK
是否为struts开发模式 P}El#y#&
t*&O*T+fgy
struts.dispatcher.parametersWorkaround C6 XZZ
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic #!WD1a?L
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #z*-
1gZW~6a}
struts.enable.DynamicMethodInvocation -PI_*
Allows one to disable dynamic method invocation from the URL C(^IX"9 #
允许动态方法调用 .<!Jhf$
3%JPJuNVw
struts.freemarker.manager.classname Zu$30&U
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >c~Fgs
org.apache.struts2.views.freemarker.FreemarkerManager接口名 A;4O,p@
uH 6QK\
struts.i18n.encoding oA _,jsD4
The encoding to use for localization messages pErre2fS
国际化信息内码 v/4Bt2J
W+'|zhn
struts.i18n.reload BAq@ H8*B
Whether the localization messages should automatically be reloaded w<3g1n7R
是否国际化信息自动加载 #^>5,M2
},2mIit(
struts.locale M]+FTz
The default locale for the Struts application c&Mci"nj0
默认的国际化地区信息 k lRS:\dW
Wa8?o~0"L
struts.mapper.class s5s'$|h"
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class o+H;ZGT5H
org.apache.struts2.dispatcher.mapper.ActionMapper接口 kc3dWWPe
~olta\|
struts.multipart.maxSize y8$TU;
The maximize size of a multipart request (file upload) %D(%
lh2
multipart请求信息的最大尺寸(文件上传用) {~"&$DY2
7yU<!p?(
struts.multipart.parser CywQ
The org.apache.struts2.dispatcher.multipart. %CxrXU
MultiPartRequest parser implementation for a multipart request (file upload) :\+;5Se+l
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) BCE}Er&
_pXy}D
fNVNx~E
struts.multipart.saveDir a8#6}`|C?
The directory to use for storing uploaded files 50:$km\
设置存储上传文件的目录夹 8?lp:kM
-NG`mfu
struts.objectFactory \X=?+|
9
The com.opensymphony.xwork2.ObjectFactory implementation class 7>g^OE f
com.opensymphony.xwork2.ObjectFactory接口(spring) xwwy9:ze*l
uZe|%xK$y
struts.objectFactory.spring.autoWire B r GaCja
Whether Spring should autoWire or not 7R 40t3
是否自动绑定Spring )"im|9
\\F@_nB,b
struts.objectFactory.spring.useClassCache pU4B6KTW
Whether Spring should use its class cache or not rUX1Iu7
是否spring应该使用自身的cache $e=pdD~
z@lUaMm:F
struts.objectTypeDeterminer DK/xHIv8-
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class >Lh+(M;+F
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &ACM:&Ob
dF$Fd{\4^
struts.serve.static.browserCache SBBDlr^P
If static content served by the Struts filter should set browser caching header properties or not E6iUa'
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 niZ/yW{w
\($EYhx
struts.serve.static sv<U$M~)X
Whether the Struts filter should serve static content or not k%iZ..
是否struts过滤器应该提供静态内容 w l.#{@J]<
uTNmt]
struts.tag.altSyntax r-#23iT.~
Whether to use the alterative syntax for the tags or not qB`zyd8yu
是否可以用替代的语法替代tags l65-8
O`nrXC{
struts.ui.templateDir T{1Z(M+
The directory containing UI templates ,t4g^67R{
UI templates的目录夹 hadGF%> O6
?QGAiu0
struts.ui.theme #P,mZ}G\
The default UI template theme PTfy#
默认的UI template主题 eGrC0[SH
1LTl=tS#
struts.url.http.port w$~|/UrLf
The HTTP port used by Struts URLs @D!KFJ
设置http端口 \Uun2.K
4qtjP8Zv[
struts.url.https.port +kF$I7LN
The HTTPS port used by Struts URLs ;eznONNF
设置https端口 tcYbM+4e
2| u 'J
struts.url.includeParams 9QaEUy*,
The default includeParams method to generate Struts URLs c?i=6CdD'
在url中产生 默认的includeParams D*d@<&Bl4<
FL5u68
h>,yqiY4p
struts.velocity.configfile )Yvf9dl
The Velocity configuration file path jq{rNxdGx
velocity配置文件路径 (`}O!;/E}
|r"1
&ow5
struts.velocity.contexts ,fQc0gM=[
List of Velocity context names j[!'l,I
velocity的context列表 Yr@)W~
t.m65
Ug=8:a(U.
struts.velocity.manager.classname 45l/)=@@B
org.apache.struts2.views.velocity.VelocityManager implementation class mA:NAV$!s
org.apache.struts2.views.velocity.VelocityManager接口名 T"Ph@I<
D T^3K5
struts.velocity.toolboxlocation pyZ&[*@
The location of the Velocity toolbox ;+XiDEX0}
velocity工具盒的位置 JFVal#
struts.xslt.nocache pX
]K-
Whether or not XSLT templates should not be cached :&Xy#.un
是否XSLT模版应该被缓存 is`Eqcj`dr