struts2的struts.properties配置文件详解 6/ g%\ka
V*n==Nb5L
struts.action.extension 5vp|?-\h>
The URL extension to use to determine if the request is meant for a Struts action U)jUq_LX
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _]#klL
=6nD0i9+
struts.configuration S4vbN
The org.apache.struts2.config.Configuration implementation class 85U.wpG
org.apache.struts2.config.Configuration接口名 _"f :`
3*S[eqMJc
struts.configuration.files @Z(rgF{{
A list of configuration files automatically loaded by Struts =iz,S:[
struts自动加载的一个配置文件列表 .:1qK<vz
uZjI?Z.A
struts.configuration.xml.reload a_T,t'6
Whether to reload the XML configuration or not vS;'}N
是否加载xml配置(true,false) VC&c)X
Rc$h{0K8
struts.continuations.package {XY3Xo
The package containing actions that use Rife continuations )na&"bJ
含有actions的完整连续的package名称 gy_$#e
_+QwREP
struts.custom.i18n.resources 97~K!'/^+y
Location of additional localization properties files to load =v-2@=NJ`K
加载附加的国际化属性文件(不包含.properties后缀) \3Jq_9Xv
Eek9|i"p
struts.custom.properties QX0Y>&$)
Location of additional configuration properties files to load /lD?VE
加载附加的配置文件的位置 [$\>~nj=
:iCM=k
XF,<i1ZlM
struts.devMode )q^ Bj$
Whether Struts is in development mode or not P;91~``b-
是否为struts开发模式 e1 a*'T$z
0Oxz3r%}r
struts.dispatcher.parametersWorkaround CmC0k-%w
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >q( 5ir
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) [B/0-(?
# mT]j""
struts.enable.DynamicMethodInvocation jz:gr=*z
Allows one to disable dynamic method invocation from the URL ai ftlY
允许动态方法调用 o" _=K%9
F|eu<^"$ H
struts.freemarker.manager.classname B4W\
t{
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 2"/yEg*=
org.apache.struts2.views.freemarker.FreemarkerManager接口名 7 ^I:=qc72
ey1Z/|
struts.i18n.encoding 5{l1A(b
The encoding to use for localization messages :$H!@n*/R
国际化信息内码 k$[{n'\@
l8wF0|
struts.i18n.reload S ~|.&0"\
Whether the localization messages should automatically be reloaded QlzQ]:dWC
是否国际化信息自动加载 YdOUv|tZC
P#tvm,
struts.locale tHI*,
The default locale for the Struts application "DckwtG:%
默认的国际化地区信息 =HE
m)
%?tq;~|]Q
struts.mapper.class Z;<ep@gy~
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class U</+ .$b
org.apache.struts2.dispatcher.mapper.ActionMapper接口 &hN,xpC
(([I]q
struts.multipart.maxSize P^IY:
-s
The maximize size of a multipart request (file upload) %g^"]
multipart请求信息的最大尺寸(文件上传用) sbla`6Fb
Yo2Trh
struts.multipart.parser )!-S|s'
The org.apache.struts2.dispatcher.multipart. ~775soN
MultiPartRequest parser implementation for a multipart request (file upload) J?jeYW
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) :R+],m il
\C/z%Hf7-
FMS2.E
struts.multipart.saveDir \3^Pjx
The directory to use for storing uploaded files ,P@QxnQ
设置存储上传文件的目录夹 7%CIt?Z%
Zoow*`b|$U
struts.objectFactory Ak=UtDN[
The com.opensymphony.xwork2.ObjectFactory implementation class
5-'vB
com.opensymphony.xwork2.ObjectFactory接口(spring) <o@ )SD~K
2V$9ei6
struts.objectFactory.spring.autoWire 79tJV
Whether Spring should autoWire or not yiT{+;g^
是否自动绑定Spring |R~;&x:
*i?.y*g
struts.objectFactory.spring.useClassCache 6FjVmje
Whether Spring should use its class cache or not q<XcOc5
是否spring应该使用自身的cache 7Po/_%
E^syrEz
struts.objectTypeDeterminer Ekf2NT
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ;D&wh
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 M[,^KJ!
6Bdyf(t
struts.serve.static.browserCache b\L)m (
If static content served by the Struts filter should set browser caching header properties or not %HEmi;
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `@$YlFOW
Ihef$,
struts.serve.static +{ab1))/
Whether the Struts filter should serve static content or not #$u ZDQY_
是否struts过滤器应该提供静态内容 P1QB`&8F
eCL?mh K
struts.tag.altSyntax 2{};6{yz
Whether to use the alterative syntax for the tags or not ayH>XwY6
是否可以用替代的语法替代tags y''V"Be
<4NQL*|>
struts.ui.templateDir R6Pz#`n
The directory containing UI templates bX{PSjD
UI templates的目录夹 g
=\13#F
SRk7gfP*q
struts.ui.theme r %xB8e9
The default UI template theme j?J=w=.Nx
默认的UI template主题 ^K>pT}u
Na;t#,
struts.url.http.port w{ m#Yt
The HTTP port used by Struts URLs 4H9xO[iM
设置http端口 Kz^ hQd
h>Rpb#]
struts.url.https.port )fR1n}#
The HTTPS port used by Struts URLs SD I,M
设置https端口 CU !.!cZ{
fW[.r== Kf
struts.url.includeParams EQ~I'#m7
The default includeParams method to generate Struts URLs 8 )`5P\
在url中产生 默认的includeParams #ZwY?T
x
"2K|#,%N
V,'FlU
struts.velocity.configfile %>NRna
The Velocity configuration file path ndt8=6p
velocity配置文件路径 e)og4
% NwoU%q
struts.velocity.contexts c=<v.J@K
List of Velocity context names %J3lK]bv(
velocity的context列表 A3!2"}L
Es,0'\m&
%,E7vYjT%
struts.velocity.manager.classname fa.f(c
org.apache.struts2.views.velocity.VelocityManager implementation class U#l.E1Z
org.apache.struts2.views.velocity.VelocityManager接口名 N>T=L0`
&:,fb]p
struts.velocity.toolboxlocation h@/>?Va
The location of the Velocity toolbox EkV!hqs*
velocity工具盒的位置 l?N`V2SuR
struts.xslt.nocache o}W7.7^2
Whether or not XSLT templates should not be cached L/%xbm~
是否XSLT模版应该被缓存 ;WPI+`-