struts2的struts.properties配置文件详解 e[>c>F^
=k{ n! e
struts.action.extension Ai~j
q
The URL extension to use to determine if the request is meant for a Struts action 60iMfcT
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ~ ~"qT
t&oNC6
struts.configuration +(pFU\&U3H
The org.apache.struts2.config.Configuration implementation class LE'8R~4.<
org.apache.struts2.config.Configuration接口名 gf&\)"
IwTAM9n
struts.configuration.files 'X$J+s}6&
A list of configuration files automatically loaded by Struts 68!W~%?pR
struts自动加载的一个配置文件列表 &4dh $w]q
kT=KxS{
struts.configuration.xml.reload R)>F*GsR
Whether to reload the XML configuration or not .$rt>u,8<
是否加载xml配置(true,false) \i2S'AblYq
=!~6RwwwY
struts.continuations.package B5pWSS
The package containing actions that use Rife continuations 8+?|4'\`
含有actions的完整连续的package名称 {SQ#n@Q&$
w]%|^:
struts.custom.i18n.resources /'ukeK+'
Location of additional localization properties files to load Jtv~n
加载附加的国际化属性文件(不包含.properties后缀) H2cY},
q_R^Q>ZIe
struts.custom.properties BM }{};p6
Location of additional configuration properties files to load k>'c4ay290
加载附加的配置文件的位置 4D4Y.g_x
` 465
H
2JMMNpya
struts.devMode /_?y]Ly[r
Whether Struts is in development mode or not ]9 ArT$
是否为struts开发模式 v5/2-<6x
"Q[rM1R
struts.dispatcher.parametersWorkaround b}C6/zW
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic CZ~%qPwDw
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) z5UY0>+VdS
g?mfpw Zj
struts.enable.DynamicMethodInvocation 6]mFw{6qn1
Allows one to disable dynamic method invocation from the URL '1Z3MjX
允许动态方法调用 S{l
>|N2q
`
&E-
struts.freemarker.manager.classname F4#^jat{
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class n{@^ne4m
org.apache.struts2.views.freemarker.FreemarkerManager接口名 !e0OGf
Jq1^}1P
struts.i18n.encoding 9[9
ZI1*s
The encoding to use for localization messages mjI
$z3
国际化信息内码 U7(t >/
mT3'kUZ}]
struts.i18n.reload VOa7qnh4:[
Whether the localization messages should automatically be reloaded #K4lnC2qz
是否国际化信息自动加载 (9A`[TRwi
jW!x!8=
struts.locale < 9 vS
The default locale for the Struts application u~-,kF@
默认的国际化地区信息 c[6=&
50?5xSEM0_
struts.mapper.class Pi!3wy
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $Rd]eC
org.apache.struts2.dispatcher.mapper.ActionMapper接口 zg[.Pws:E
1%^d<%,]
struts.multipart.maxSize jW<aAd
The maximize size of a multipart request (file upload) )d^b\On
multipart请求信息的最大尺寸(文件上传用) SR<*yO
Ia'm9Z*
struts.multipart.parser 0\X'a}8Bu
The org.apache.struts2.dispatcher.multipart. O\5q_>]
MultiPartRequest parser implementation for a multipart request (file upload) ?04$1n:
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) EYaX@|)
/ DC\F5 G
X^%E"{!nU
struts.multipart.saveDir $&@etsW0/
The directory to use for storing uploaded files %ylpn7I\6
设置存储上传文件的目录夹 m`Dn R`+
Ev)aXP
struts.objectFactory {T=rsPp<@
The com.opensymphony.xwork2.ObjectFactory implementation class 7Gs0DwV
com.opensymphony.xwork2.ObjectFactory接口(spring) ;/-X;!a>
1f/8XxTB
struts.objectFactory.spring.autoWire MB#KLTwnT
Whether Spring should autoWire or not 'a6:3*
是否自动绑定Spring $1ZFkw
*qN(_
struts.objectFactory.spring.useClassCache ~=#jr0IZ
Whether Spring should use its class cache or not ]ICBNJ
是否spring应该使用自身的cache 4hLv"R.
/qeSR3WC
struts.objectTypeDeterminer c8=@s#
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class uTq)Ets3
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &l| :1
->0OqVQA
struts.serve.static.browserCache Ozo)}
If static content served by the Struts filter should set browser caching header properties or not n~e#Y<IP\1
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 :{tj5P!S
g218%i
struts.serve.static BGSqfr1F
Whether the Struts filter should serve static content or not ;<~lzfs
是否struts过滤器应该提供静态内容 B;6N.X(K
@?gN
&Z)I
struts.tag.altSyntax {R{Io|
Whether to use the alterative syntax for the tags or not ;=ci7IT'
是否可以用替代的语法替代tags *]uj0@S
OQC.p,SO
struts.ui.templateDir y~jYGN
The directory containing UI templates Z9+xB"q2
UI templates的目录夹 h=`1sfz
FE[{*8
struts.ui.theme 6lKM5,Oa
The default UI template theme M,f|.p{,Y
默认的UI template主题 OM4q/!)A]
HXg4
T
struts.url.http.port S$egsK"~
The HTTP port used by Struts URLs @m99xF\e
设置http端口 V1= (^{p8
#]_S)_Z-
struts.url.https.port 1qgzb
The HTTPS port used by Struts URLs (8?5REz
设置https端口 YJ[Jo3M@j0
c~=yD:$
struts.url.includeParams 0s%rd>3
The default includeParams method to generate Struts URLs GA.4'W^&a
在url中产生 默认的includeParams iI.d8}A
R{hq1-
9"RGf 1]
struts.velocity.configfile Jc74A=sT
The Velocity configuration file path U if61)+!i
velocity配置文件路径 Q x]zz4jD
g12mSbf=9
struts.velocity.contexts hV6=-QL*B
List of Velocity context names ^9zFAY.|
velocity的context列表 h+!
"VfV;)]|w
mEM/}]2
struts.velocity.manager.classname V(LE4P1
org.apache.struts2.views.velocity.VelocityManager implementation class HxXCxI3
org.apache.struts2.views.velocity.VelocityManager接口名 k.dQ;v}
Ue8k9%qV
struts.velocity.toolboxlocation A`
iZ"?
The location of the Velocity toolbox {q}#
Sq
velocity工具盒的位置 ji(Y?vhQt
struts.xslt.nocache w&E*{{otJ
Whether or not XSLT templates should not be cached oB8x_0#n
是否XSLT模版应该被缓存 G^ 2a<?Di