struts2的struts.properties配置文件详解 <GlV!y
lY,1 w
struts.action.extension %6?}gc_
The URL extension to use to determine if the request is meant for a Struts action ;qQzF
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 D-EM
f)fw87UPc
struts.configuration eesLTyD2_
The org.apache.struts2.config.Configuration implementation class yr DYw T
org.apache.struts2.config.Configuration接口名 66;O 3g'
J@-9{<
struts.configuration.files @Kb~!y@G
A list of configuration files automatically loaded by Struts }tq9 /\
struts自动加载的一个配置文件列表 +OP' /
3hjwwLKG$
struts.configuration.xml.reload 3
+9|7=d
Whether to reload the XML configuration or not ;0{*V5A
是否加载xml配置(true,false) KPrxw }P
f4^_FK&
struts.continuations.package `{;&Qcg6m
The package containing actions that use Rife continuations IKj1{nZvDc
含有actions的完整连续的package名称 'KrkCA
e;\c=J,eE
struts.custom.i18n.resources Wx`IEPsVbk
Location of additional localization properties files to load S'fq/`2g6
加载附加的国际化属性文件(不包含.properties后缀) ?Cl"jcQ*
D~);:}}>
struts.custom.properties "Vy\- ^
Location of additional configuration properties files to load P_%l}%
加载附加的配置文件的位置 ~Dh}E9E:
%gB0D8,vo
<\NXCUqDpo
struts.devMode =l{KYv
Whether Struts is in development mode or not xrd^vE
是否为struts开发模式 "aH]4DO
p8bTR!rvz
struts.dispatcher.parametersWorkaround TR7TF]itb
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $l0w {m!P
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) l0)6[yXK
ZmF32Ir
struts.enable.DynamicMethodInvocation J>|`
Allows one to disable dynamic method invocation from the URL ~0:c{v;4
允许动态方法调用 n\,W:G9AR7
X ^)5O>>|t
struts.freemarker.manager.classname ,bg#pG!x Q
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class oZw#Nd
org.apache.struts2.views.freemarker.FreemarkerManager接口名 U{m:{'np(H
QJ'C?hn
struts.i18n.encoding -hfY:W`Dz
The encoding to use for localization messages NyNu1V$
国际化信息内码 $x0F(|wxt
W;yZ$k#q}(
struts.i18n.reload "=O)2}
Whether the localization messages should automatically be reloaded }R(_^@]
是否国际化信息自动加载 YzVLa,[
n`1i k'x?
struts.locale w=5qth7
The default locale for the Struts application g Q^]/X
默认的国际化地区信息 =@ RVLml
b?,y%D)'
struts.mapper.class AG%aH=TKp
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class /qr8
org.apache.struts2.dispatcher.mapper.ActionMapper接口 <taW6=;c
tc Z~T
struts.multipart.maxSize ggWfk
The maximize size of a multipart request (file upload) dDn:^)
multipart请求信息的最大尺寸(文件上传用) oyY,uB.|
cgAcAcmY
struts.multipart.parser }P#gXG
The org.apache.struts2.dispatcher.multipart. DO;
2)ZQ%
MultiPartRequest parser implementation for a multipart request (file upload) L"0L_G
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Fh;(1X75I
'-_PO|}
,y @3'~
struts.multipart.saveDir j=LF1dG"
The directory to use for storing uploaded files R8)"M(u=l
设置存储上传文件的目录夹 ,\IZ/1
(Nf.a4O
struts.objectFactory it@s(1EO#
The com.opensymphony.xwork2.ObjectFactory implementation class c{q`uI;O
com.opensymphony.xwork2.ObjectFactory接口(spring) 7v_e"[s~
A>k;o0r
struts.objectFactory.spring.autoWire 1lM0pl6M
Whether Spring should autoWire or not oB@C-(M
是否自动绑定Spring h
!1c(UR
Bc@e;k@i
struts.objectFactory.spring.useClassCache R
_%pR_\
Whether Spring should use its class cache or not OX2\H
是否spring应该使用自身的cache gsAO<Fy
,\ i q'}i
struts.objectTypeDeterminer TgLlmU*qMU
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class E'}$'n?:
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .[!
^L
|iI`p-L9
struts.serve.static.browserCache _!ed.h.r:
If static content served by the Struts filter should set browser caching header properties or not ;K!Or
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Z:{Z&HQC
Z^'; xn
struts.serve.static
AHb
Whether the Struts filter should serve static content or not K.SHY!U}
是否struts过滤器应该提供静态内容 JB7]51WH@
&}ow-u9c3
struts.tag.altSyntax
/uWON4
Whether to use the alterative syntax for the tags or not YL+W4ld
是否可以用替代的语法替代tags RPu-E9g@
`:&{/|uP7
struts.ui.templateDir YH9BJ
The directory containing UI templates '1+ Bgf
UI templates的目录夹 (46)v'?
bPEAG=l "-
struts.ui.theme Fei$94a
The default UI template theme "x)W3C%*S
默认的UI template主题 $A,=z
7pNh|#Uv'
struts.url.http.port h7{W-AtM7_
The HTTP port used by Struts URLs D+U^ pl-
设置http端口 _1a2Z\
7RZ7q@@fgh
struts.url.https.port ,3K?=e2
The HTTPS port used by Struts URLs AWzpk}\
设置https端口 :c>,=FUT
M:~#"lfK
struts.url.includeParams K(?7E6\vO
The default includeParams method to generate Struts URLs 20qT1!ju
在url中产生 默认的includeParams #{(rOb6H)
711z-
Kt-@a%O0
struts.velocity.configfile <Aa%Uwpc
The Velocity configuration file path Je'$V%{E
velocity配置文件路径 KK?}`o
n1ICW 9
struts.velocity.contexts @'QB rE
List of Velocity context names 7Vi[I< *
velocity的context列表 ZO,]h9?4
_Cs.%R!r
+hfl.OBy
struts.velocity.manager.classname $_y"P
org.apache.struts2.views.velocity.VelocityManager implementation class G8SJ<\?
org.apache.struts2.views.velocity.VelocityManager接口名 p=zjJ~DVd
U*Q$:%72vO
struts.velocity.toolboxlocation pd|s7
The location of the Velocity toolbox 9Ah4N2nL-b
velocity工具盒的位置 q#Bdq8
struts.xslt.nocache nm)F tX|A
Whether or not XSLT templates should not be cached CAX U
#
是否XSLT模版应该被缓存 ("{'],>