struts2的struts.properties配置文件详解 YA^9, q6u?
$)@zlnU
struts.action.extension >[xQUf,p
The URL extension to use to determine if the request is meant for a Struts action rMlbj2T
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]Ly)%a32
4
qW)R{%
struts.configuration JsPuxu_
The org.apache.struts2.config.Configuration implementation class ((dG<
org.apache.struts2.config.Configuration接口名 lQ+-g#`
wU#Q>ut'%
struts.configuration.files *rEW@06^\
A list of configuration files automatically loaded by Struts dy`~%lX?
struts自动加载的一个配置文件列表 vJq`l3&
^U_jeAuk8[
struts.configuration.xml.reload 5. l&nt'
Whether to reload the XML configuration or not E/GI:}YUy_
是否加载xml配置(true,false) G>_ZUHdI
% 9WWBxS
struts.continuations.package 3YT _GW{
The package containing actions that use Rife continuations \O/=g6w|t}
含有actions的完整连续的package名称 1g/mzC
ac&tpvij
struts.custom.i18n.resources HRw,D=
Location of additional localization properties files to load *smo{!0Gg
加载附加的国际化属性文件(不包含.properties后缀) L,kF]
2C8M1^0:Z
struts.custom.properties 0^[$0]Mt[
Location of additional configuration properties files to load >$"bwr}'4B
加载附加的配置文件的位置
xjX5 PQu
ss2:8up 99
Y|lMa?\E
struts.devMode /V*eAn8>
Whether Struts is in development mode or not V?rI,'F>N
是否为struts开发模式 (^Ln|3iz
uIPR*9~6o
struts.dispatcher.parametersWorkaround 7v:;`6Jb
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic FQ 4rA 4
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 4i19HD_
,#m\W8j
struts.enable.DynamicMethodInvocation O,;SA
Allows one to disable dynamic method invocation from the URL \4&g5vE
允许动态方法调用 EagI)W!s[
+*!!
struts.freemarker.manager.classname Ar$LA"vu4
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class P6?Q;-\q0
org.apache.struts2.views.freemarker.FreemarkerManager接口名 jW*A(bK8:
4q~E\l|.5
struts.i18n.encoding bC{~/ JP
The encoding to use for localization messages @GV^B'}*
国际化信息内码 }qg!Um0
=wQ=`
struts.i18n.reload Ea
!j-Lb o
Whether the localization messages should automatically be reloaded npF[J x[
是否国际化信息自动加载 Mu%'cwp$
TvP# /qGgG
struts.locale :z:Blp>nK/
The default locale for the Struts application 4>W`XH
默认的国际化地区信息 tEUmED0FY
7MfT~v
struts.mapper.class QJ/SP
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class s6$3[9Vh&9
org.apache.struts2.dispatcher.mapper.ActionMapper接口 gM*s/,;O"
p%s
D>1k
struts.multipart.maxSize @K/Ia!Lw
The maximize size of a multipart request (file upload) g DhwJks
multipart请求信息的最大尺寸(文件上传用) r~TT c)2
EI;\of2,
struts.multipart.parser NR*SEbUU*
The org.apache.struts2.dispatcher.multipart. cNVdGY%&
MultiPartRequest parser implementation for a multipart request (file upload) ^WNJQg'
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) S|[UEU3FpB
(TE2t7ab|M
)=D&NO67Pq
struts.multipart.saveDir T)u w2
The directory to use for storing uploaded files r>Ln*R,9D
设置存储上传文件的目录夹 CytpL`&^]
!r|X6`g
struts.objectFactory c&++[
The com.opensymphony.xwork2.ObjectFactory implementation class 4(R2V]
com.opensymphony.xwork2.ObjectFactory接口(spring) =Wf@'~K0k"
ZYA(Bg^
struts.objectFactory.spring.autoWire V|AE~R^
Whether Spring should autoWire or not T?Y\~.+99
是否自动绑定Spring Pio^5jhB6
<IVz mzpL
struts.objectFactory.spring.useClassCache 0U>Q<I}
Whether Spring should use its class cache or not %\l,X{X
是否spring应该使用自身的cache q8Dwu3D
{<kG{i/
struts.objectTypeDeterminer 9^u?v`!
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class MxR U6+a
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 to3J@:V8e
%'e(3;YI
struts.serve.static.browserCache Q7|13^|C
If static content served by the Struts filter should set browser caching header properties or not GcR`{ 3hO
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ??Zmj:8E'
A ? M]5d
struts.serve.static ~t={ \,X\
Whether the Struts filter should serve static content or not "NU".q
是否struts过滤器应该提供静态内容 u7?juI#Cl
<+gl"lG
struts.tag.altSyntax %z~U@Mka
Whether to use the alterative syntax for the tags or not n5.>;N.*
是否可以用替代的语法替代tags (L$~zw5gr
sg{D ?zl
struts.ui.templateDir \'Ta8
The directory containing UI templates AxlFU~E4
UI templates的目录夹 .gGvyscdH;
Y/H^*1
struts.ui.theme 6;cY!
The default UI template theme SFk#bh
默认的UI template主题 lGUV(D
hFMst%:y$
struts.url.http.port V:BX"$J1
The HTTP port used by Struts URLs nud=uJ"(
设置http端口 iIaT1i4t.
R: <@+z^A[
struts.url.https.port zpqGh
The HTTPS port used by Struts URLs )7GLS\uf<%
设置https端口 WEtA4zCO
8e!DDh
struts.url.includeParams pYl{:uIPN8
The default includeParams method to generate Struts URLs ;9 ,mV(w
在url中产生 默认的includeParams HhmVV"g
TE%#$q
ttaQlEa=Z
struts.velocity.configfile Q)`gPX3F
The Velocity configuration file path uxyTu2L7
velocity配置文件路径 H'{?aaK|t
[!@oRK=~
struts.velocity.contexts :z.Y$]F@
List of Velocity context names drKjLo[y
velocity的context列表 MJ,ZXJXs
xs!g{~V{
K3:|Tc(
struts.velocity.manager.classname T_?nd T2
org.apache.struts2.views.velocity.VelocityManager implementation class &3Z.
#*
org.apache.struts2.views.velocity.VelocityManager接口名 d-;9L56{P
.l+~)$
struts.velocity.toolboxlocation d:hL
)x
The location of the Velocity toolbox sD8m<
velocity工具盒的位置 NOr
<,
struts.xslt.nocache
}{xN`pZ
Whether or not XSLT templates should not be cached <;cE/W}}
是否XSLT模版应该被缓存 8A^jD(|