struts2的struts.properties配置文件详解 ,e2va7}3
}|,y`ui\
struts.action.extension wG
O)!u 4
The URL extension to use to determine if the request is meant for a Struts action yhaYlYv[_3
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3QpTO,
<X?F :?Mk
struts.configuration +Sfv.6~v
The org.apache.struts2.config.Configuration implementation class %:*HzYf
org.apache.struts2.config.Configuration接口名 *rLs!/[Z_
_q 8m$4
struts.configuration.files k&b>-QP6
A list of configuration files automatically loaded by Struts '#PT C,0UJ
struts自动加载的一个配置文件列表 PW}.`
Cp%|Q.?
struts.configuration.xml.reload EeO{G*pq
Whether to reload the XML configuration or not 0*)79Sz
是否加载xml配置(true,false)
U{EW +>
4%TC2Laii
struts.continuations.package N!AFsWV
The package containing actions that use Rife continuations ;Peyo1
含有actions的完整连续的package名称 '&d4x c
Y~R wsx
struts.custom.i18n.resources =>G A_
Location of additional localization properties files to load |{
kB`
加载附加的国际化属性文件(不包含.properties后缀) q`P:PRgM
`f'P
struts.custom.properties <mN3:G
Location of additional configuration properties files to load iX=*qiVX
加载附加的配置文件的位置 Qxwe,:
5WUrRQ?E
C7{w I`~
struts.devMode x+pFu5,
Whether Struts is in development mode or not Ero3A'f
是否为struts开发模式 o#i{/#oF
=u(fP" |{
struts.dispatcher.parametersWorkaround yFSL7`p+
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ^|Y!NHYH$Z
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) fOVRtSls
z?PF9QL1
struts.enable.DynamicMethodInvocation B !XT:.+
Allows one to disable dynamic method invocation from the URL }49?Z 3
允许动态方法调用 uyj5}F+O
;c`B'
struts.freemarker.manager.classname `d8TA#|`
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )l=j,4nn
org.apache.struts2.views.freemarker.FreemarkerManager接口名 -8IiQRS
v,jU9D\
struts.i18n.encoding J?&9ofj&
The encoding to use for localization messages r$KDNa$/a
国际化信息内码 xInWcQ
mWh:,[o
struts.i18n.reload L-XTIL$$
Whether the localization messages should automatically be reloaded S'txY\
是否国际化信息自动加载 R`c5-0A
4T:ZEvdzf
struts.locale 4Xz|HU?
The default locale for the Struts application _#+i;$cO-X
默认的国际化地区信息 'Gk|&^
W;=ZQ5Lw
struts.mapper.class \21!NPXH2
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class bu]bfnYi9
org.apache.struts2.dispatcher.mapper.ActionMapper接口 jzQgDed ]
1n^xVk-G
struts.multipart.maxSize ~L2Fo~fw
The maximize size of a multipart request (file upload) `6zoZM7?Y
multipart请求信息的最大尺寸(文件上传用) Jps!,Mflc
i|t$sBIh
struts.multipart.parser M<SZ7^9<
The org.apache.struts2.dispatcher.multipart. [lf[J&}X
MultiPartRequest parser implementation for a multipart request (file upload) m\(a{x
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) w"~T5%p
hYLu
]?^mb n
struts.multipart.saveDir ,q4 Y
N-3
The directory to use for storing uploaded files D3]_AS&\
设置存储上传文件的目录夹 W|:WAxJ*d
QZX+E
struts.objectFactory WDcjj1`l
The com.opensymphony.xwork2.ObjectFactory implementation class ~Y{K^:wN^
com.opensymphony.xwork2.ObjectFactory接口(spring) ~%]+5^Ka]
O_~\$b
struts.objectFactory.spring.autoWire v"`w'+
Whether Spring should autoWire or not -{dwLl_
是否自动绑定Spring 7*sB"_U2
Qi9SN00F.
struts.objectFactory.spring.useClassCache RW'QU`N[Y
Whether Spring should use its class cache or not zR%#Q_
是否spring应该使用自身的cache , vWcWT
/wQDcz
struts.objectTypeDeterminer {J[0UZ6
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class k{; 2*6b0
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 V[~/sc )
Lr`yl$6
struts.serve.static.browserCache (uSfr]89'
If static content served by the Struts filter should set browser caching header properties or not S;Vj5
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 [ACa<U/
um/iK}O
struts.serve.static 8"+Kz
Whether the Struts filter should serve static content or not L!\I>a5C0G
是否struts过滤器应该提供静态内容 cG.4%Va@s_
+BESO
struts.tag.altSyntax Lx.X#n.]T
Whether to use the alterative syntax for the tags or not ~MOIrF
是否可以用替代的语法替代tags 9BP-Iet
-{HA+ YL H
struts.ui.templateDir 4oJ0,u
The directory containing UI templates tlj^0
UI templates的目录夹 ,a}+Jj{
uKK+V6}!kj
struts.ui.theme *t63c.S
The default UI template theme Up~#]X
默认的UI template主题 &U:;jlST9
$aEL>,X
struts.url.http.port \]zHM.E1
The HTTP port used by Struts URLs u-D%: lz85
设置http端口 Ay[6rUO
8/k*"^3
struts.url.https.port F8q|$[nH
The HTTPS port used by Struts URLs ^5OR%N)
设置https端口 HN\9d
0y*8;7-|r)
struts.url.includeParams Uo# Pe@ieQ
The default includeParams method to generate Struts URLs @,$>H7o
在url中产生 默认的includeParams wtK+\Qnb
NO QM:tBO>
)KG.:BO<
struts.velocity.configfile 3= PRe
The Velocity configuration file path H8X{!/,^
velocity配置文件路径 WOh?/F[@u
J%{>I
struts.velocity.contexts /@:I\&{f'9
List of Velocity context names [&51m^
velocity的context列表 m)V%l0
^I7iEv
dj 4:r!5_
struts.velocity.manager.classname X-=49)
org.apache.struts2.views.velocity.VelocityManager implementation class .^eajb`:
org.apache.struts2.views.velocity.VelocityManager接口名 {;q
zz9 |
cJMp`DQzc
struts.velocity.toolboxlocation Nzf tc
The location of the Velocity toolbox )
}(Po_
velocity工具盒的位置 51xiX90D
struts.xslt.nocache |Y4c+6@_
Whether or not XSLT templates should not be cached ^DD]jx
是否XSLT模版应该被缓存 9J*.'Y