struts2的struts.properties配置文件详解 a%JuC2
s<<ooycBrQ
struts.action.extension -
M4JJV(
The URL extension to use to determine if the request is meant for a Struts action dO!
kk"qn
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 T $ >&[f$6
?]_$Dcmx
struts.configuration iL-(O;n
The org.apache.struts2.config.Configuration implementation class vc;$-v$&
org.apache.struts2.config.Configuration接口名 KQ!8ks]
)Q&(f/LT
struts.configuration.files rr],DGg+B]
A list of configuration files automatically loaded by Struts /~%&vpF-L
struts自动加载的一个配置文件列表 6H.0vN&
wDal5GJp
struts.configuration.xml.reload }HYbS8 '
Whether to reload the XML configuration or not 2lH&
是否加载xml配置(true,false) nS }<-s
Fo5FNNiID
struts.continuations.package {HltvO%8
The package containing actions that use Rife continuations XpB_N{v9w
含有actions的完整连续的package名称 5H<m$K4z
6
$4[gcL'
struts.custom.i18n.resources y}" O U
Location of additional localization properties files to load l*Gvf_UH
加载附加的国际化属性文件(不包含.properties后缀) M2,l7
-A^ _{4X
struts.custom.properties %S960
Location of additional configuration properties files to load t&C1Oo}=3
加载附加的配置文件的位置 _7Ju
] vHF~|/-
>
PRFWO
struts.devMode JE "x
Whether Struts is in development mode or not q$d>(vbq
是否为struts开发模式 AUG#_HE]k
EIP/V
struts.dispatcher.parametersWorkaround t6"%3#s
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic X:"i4i[}{9
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Cn34b_Sbd
|.: q
struts.enable.DynamicMethodInvocation ^eY!U%.
Allows one to disable dynamic method invocation from the URL v!~fs)cdE|
允许动态方法调用 MS~(D.@ZS
!GjQPAW
struts.freemarker.manager.classname 'x#~'v*
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class f643#1
org.apache.struts2.views.freemarker.FreemarkerManager接口名 {I%cxQ#y
?=Z?6fw
struts.i18n.encoding J5K^^RUR
The encoding to use for localization messages @1roe
G
国际化信息内码 pK>N-/?a
XJ;57n-?
struts.i18n.reload X]TG<r
Whether the localization messages should automatically be reloaded Tv,[DI +
是否国际化信息自动加载 O3,jg|,
TQF| a\M'
struts.locale EeE7#$l
The default locale for the Struts application D0-3eV-
默认的国际化地区信息 z#wkiCRYm
T4Uev*A
struts.mapper.class <44G]eb
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class hD 82tr
org.apache.struts2.dispatcher.mapper.ActionMapper接口 oWT3apGO
n:?a$Ldgm
struts.multipart.maxSize Z"xvh81P
The maximize size of a multipart request (file upload) r(TIw%L$
multipart请求信息的最大尺寸(文件上传用)
=4YhG;%
A:%`wX}
struts.multipart.parser YoNDf39
The org.apache.struts2.dispatcher.multipart. Jq-]7N%k/
MultiPartRequest parser implementation for a multipart request (file upload) \;Biq`
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) y'q$|
AO4U}?
1v27;Q<+Q
struts.multipart.saveDir k(nW#*N_
The directory to use for storing uploaded files `Y$4 H,8L
设置存储上传文件的目录夹 l_d5oAh
_
]ipajT
struts.objectFactory +SU8 +w
The com.opensymphony.xwork2.ObjectFactory implementation class iOghb*aW
com.opensymphony.xwork2.ObjectFactory接口(spring) p?OoC
Dw.J2>uj
struts.objectFactory.spring.autoWire k1~&x$G
Whether Spring should autoWire or not jvL[
JI,b
是否自动绑定Spring Ynj,pl
TF\C@4Z
struts.objectFactory.spring.useClassCache S9y}
Whether Spring should use its class cache or not b2Fe<~S{
是否spring应该使用自身的cache K($Npuu]
6<QQ@5_
struts.objectTypeDeterminer 4xje$/_d
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *w\W/ Y
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -GrE}L
*L^,|
struts.serve.static.browserCache .|70;
If static content served by the Struts filter should set browser caching header properties or not |0b`fOS
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 i[3'ec3
kgP0x-Ap
struts.serve.static aB&&YlR=n<
Whether the Struts filter should serve static content or not f}P3O3Yv&
是否struts过滤器应该提供静态内容 !*N@ZL&X
Bnxm HGP#&
struts.tag.altSyntax F^;ez/Gl
Whether to use the alterative syntax for the tags or not V b ?oJhR
是否可以用替代的语法替代tags ^\=`edN 0
^jZbo{
struts.ui.templateDir m<Dy<((_I
The directory containing UI templates FTUv IbT
UI templates的目录夹 |/{=ww8|
SY\ gXO8k
struts.ui.theme ",; H`V
The default UI template theme ~B?y{
默认的UI template主题 8cIKvHx
0S!K{xyR
struts.url.http.port ,#9PxwrO
The HTTP port used by Struts URLs $%#!bV
设置http端口
(uE!+2C
]{@-HTt
struts.url.https.port uy$e?{Jf
The HTTPS port used by Struts URLs YU'E@t5
设置https端口 3F2w-+L
?CPahU
struts.url.includeParams bROLOf4S
The default includeParams method to generate Struts URLs {JMVV_}n
在url中产生 默认的includeParams 5U$0F$BBp
]N?kG`[
^u ~Q/4
struts.velocity.configfile 0aB;p7~&
The Velocity configuration file path 9WyhZoPD*
velocity配置文件路径 W^l-Y%a/o
oZ|\vA%4^
struts.velocity.contexts oap4rHk}
List of Velocity context names `d}2O%P
velocity的context列表 ukyZes8o K
/*mI<[xb
/h3RmUy
struts.velocity.manager.classname h S&R(m
org.apache.struts2.views.velocity.VelocityManager implementation class +cN8Y}V
org.apache.struts2.views.velocity.VelocityManager接口名 1mG-}
2P0*NQ
struts.velocity.toolboxlocation vl:KF7:#m
The location of the Velocity toolbox @\#td5'
velocity工具盒的位置 /PIcqg
struts.xslt.nocache Gyc]?m
Whether or not XSLT templates should not be cached (f"4,b^]
是否XSLT模版应该被缓存 yY q,*<G