struts2的struts.properties配置文件详解 e^v5ai
vW6
a=j8
struts.action.extension 5cc;8i
The URL extension to use to determine if the request is meant for a Struts action J%VcvBaJm
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0$=Uhi
?O(@BT
struts.configuration BR&T,x/d
The org.apache.struts2.config.Configuration implementation class ]5(T{
org.apache.struts2.config.Configuration接口名 _#[~?g`
8:#\g
struts.configuration.files pe^hOzVv
A list of configuration files automatically loaded by Struts (EW<Ggi
struts自动加载的一个配置文件列表 5>9KW7^L
[3$L}m
struts.configuration.xml.reload H CBZ*Z-
Whether to reload the XML configuration or not R-7.q
是否加载xml配置(true,false) $db]b
1D2Uomd(
struts.continuations.package {u !Q=D$3
The package containing actions that use Rife continuations L'i0|_
含有actions的完整连续的package名称 eAqSY s!1
nP]tc
struts.custom.i18n.resources Q?"o.T';
Location of additional localization properties files to load IZ){xI
加载附加的国际化属性文件(不包含.properties后缀) JFOto,6L:
:TU|;(p
struts.custom.properties E`E$ }iLs
Location of additional configuration properties files to load bBx.snBK
加载附加的配置文件的位置 )-qWcf?
oZM6%-@qi
n oWjZ
struts.devMode }E
o\=>l7
Whether Struts is in development mode or not ]JGh[B1gh
是否为struts开发模式 FEOr'H<3x
K)-Gv|*t
struts.dispatcher.parametersWorkaround OGl>i
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic M't~/&D#
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (tZ#EL0
l'yX_`*Iq
struts.enable.DynamicMethodInvocation '*4>&V.yX
Allows one to disable dynamic method invocation from the URL Iw07P2
允许动态方法调用 "h@|XI
qcN{p7=0
struts.freemarker.manager.classname LwPZR E#
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class fj
14'T
org.apache.struts2.views.freemarker.FreemarkerManager接口名 _:RQ9x'
>Q(+H-w
struts.i18n.encoding ,(1n(FZ
The encoding to use for localization messages !yUn|v>&p
国际化信息内码 )7X+T'?%
B: '}SA{
struts.i18n.reload ~Onj|w7
Whether the localization messages should automatically be reloaded 72i]`
是否国际化信息自动加载 N+)gYb6h
]YQ!i@Y
struts.locale f+}Rj0A
The default locale for the Struts application /5x~3~
默认的国际化地区信息 } kNbqwVP
5,Q3#f~!
struts.mapper.class $ 12mS
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;Avz%2#c`
org.apache.struts2.dispatcher.mapper.ActionMapper接口 YwbRzY-#F
d]3c44kkK{
struts.multipart.maxSize Yg @&@S]
The maximize size of a multipart request (file upload) ]1 V,_^D
multipart请求信息的最大尺寸(文件上传用) ">{Ruv}$
Z`FEB0$
struts.multipart.parser E$u9Jbe
The org.apache.struts2.dispatcher.multipart. UxGr+q
MultiPartRequest parser implementation for a multipart request (file upload) *8QESF9
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) N }$$<i2o
_oV;Y`_
O
}ES/<an
struts.multipart.saveDir \hlQu{q.
The directory to use for storing uploaded files /]xu=q2
设置存储上传文件的目录夹 knX*fp
Ffvv8x
struts.objectFactory S_Tv Ix/7&
The com.opensymphony.xwork2.ObjectFactory implementation class -d j9(~?^
com.opensymphony.xwork2.ObjectFactory接口(spring) ]q,5'[=~4h
Lc&LF*
struts.objectFactory.spring.autoWire nZ4JI+Q)~
Whether Spring should autoWire or not WFGcR9mN?
是否自动绑定Spring gY],U4_:p
2#srecIz-!
struts.objectFactory.spring.useClassCache >AtW
Whether Spring should use its class cache or not b`W2^/D
是否spring应该使用自身的cache @&I7z,
^)JUl!5j]C
struts.objectTypeDeterminer @ij8AGE:
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class oVD)Fb%[i9
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 u~uR:E%'C
z%4E~u10
struts.serve.static.browserCache {Df97n%h;
If static content served by the Struts filter should set browser caching header properties or not #
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 1 #zIAN>
=up!lg^M
struts.serve.static \d"uR@$3mG
Whether the Struts filter should serve static content or not T[~8u9/
是否struts过滤器应该提供静态内容 A#b`{C~l
*btLd7c%
struts.tag.altSyntax Q|gw\.]$&[
Whether to use the alterative syntax for the tags or not X@["Jjp
是否可以用替代的语法替代tags g':/hlQ
(f-Mm0%[
struts.ui.templateDir `:aml+
The directory containing UI templates ^R g=*L
UI templates的目录夹 ^|b ]E
ZqDanDM
struts.ui.theme vb&1 S
The default UI template theme z:
;ZPSn
默认的UI template主题 TO,XN\{y
o@6hlLr
struts.url.http.port N7wKaezE
The HTTP port used by Struts URLs [Iwb7a0p
设置http端口 m
L#%H(
lmsO
6=I4F
struts.url.https.port 35;UE2d)<
The HTTPS port used by Struts URLs x|7vN E=Q
设置https端口 {?!0<0
/k$H"'`j4
struts.url.includeParams 'aN`z3T
The default includeParams method to generate Struts URLs bu2@~
在url中产生 默认的includeParams UY ^dFbJ
_,"?R]MO
)335X wA+
struts.velocity.configfile b0PQ;?R#V
The Velocity configuration file path wt@Qjbqd8
velocity配置文件路径 %',bCd{QW
A"Prgf
eT
struts.velocity.contexts Fm{/&U^
List of Velocity context names 71RG1,
velocity的context列表 Y:x,pPyl
x)]_]_vX
ytmFe !
struts.velocity.manager.classname ym]12PAU5
org.apache.struts2.views.velocity.VelocityManager implementation class O BCH%\;g
org.apache.struts2.views.velocity.VelocityManager接口名 <P%<EgOE
FX->_}kL=
struts.velocity.toolboxlocation 2!w5eWl,
The location of the Velocity toolbox Juhi#&`T
velocity工具盒的位置 #1-2)ZO.
struts.xslt.nocache _EusY3q
Whether or not XSLT templates should not be cached |}FK;@'I 6
是否XSLT模版应该被缓存 rnkq.