struts2的struts.properties配置文件详解 hF2e--
, PlH|
struts.action.extension ,H]%4@]|o
The URL extension to use to determine if the request is meant for a Struts action b80#75Bj>
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。
enQ*uMKd^
=QqH`.3
struts.configuration &A0OYV3i.
The org.apache.struts2.config.Configuration implementation class Q-<]'E#\(
org.apache.struts2.config.Configuration接口名 6
5govor
%f]#P8VP
struts.configuration.files Aw#<: 6-
A list of configuration files automatically loaded by Struts _uIS[%4g
struts自动加载的一个配置文件列表 FZi@h
g|~px$<iY
struts.configuration.xml.reload h( | T.
Whether to reload the XML configuration or not K\K& K~Z
是否加载xml配置(true,false) Hyb(.hlZh
2K}49*
struts.continuations.package 4XpWDfa.}
The package containing actions that use Rife continuations BSm"]!D8*
含有actions的完整连续的package名称 ,L<JG
]+D@E2E
struts.custom.i18n.resources 2*Qv6
:qK
Location of additional localization properties files to load #mQ@4k9i
加载附加的国际化属性文件(不包含.properties后缀) $+4DpqJ
:;{M0
struts.custom.properties Btm,'kBG
Location of additional configuration properties files to load 6v)TCj/
加载附加的配置文件的位置 N5?bflY
^k6_j\5j
:v^/k]S
struts.devMode D3o,2E(o
Whether Struts is in development mode or not > 80{n8
是否为struts开发模式 /!5Wd(:
] ?DU8
struts.dispatcher.parametersWorkaround TQ"XjbhU;X
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &n<YmW?"
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) g>/Y}{sL-
\|HtE(uCM1
struts.enable.DynamicMethodInvocation b| L;*<KU
Allows one to disable dynamic method invocation from the URL s#X/
F
允许动态方法调用 EFX2>&mWo8
[q9B"@X
struts.freemarker.manager.classname P $`1}
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class J^7m?mA
org.apache.struts2.views.freemarker.FreemarkerManager接口名 f+Y4~k
8C3k:
D[
struts.i18n.encoding 2-4N)q
The encoding to use for localization messages rq%]CsRY5
国际化信息内码 Ju+3}
|*bUcS<S
struts.i18n.reload tYjG8P#
Whether the localization messages should automatically be reloaded }_+XN"}C
是否国际化信息自动加载 !*#9b
[Sm<X
struts.locale t'44X
The default locale for the Struts application @O#!W]6NT6
默认的国际化地区信息 Cut~k"lv
VX)8pV$
struts.mapper.class 65LtCQ}
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class l(>6Yq
org.apache.struts2.dispatcher.mapper.ActionMapper接口 a{8a[z
Sz0PZtJ
struts.multipart.maxSize _o~ pVBl/
The maximize size of a multipart request (file upload) ktyplo#F
multipart请求信息的最大尺寸(文件上传用) F.vRs|fk
j<^!"_G]*?
struts.multipart.parser $ f:uBhM
The org.apache.struts2.dispatcher.multipart. r^
r+h[V
MultiPartRequest parser implementation for a multipart request (file upload) _}R$h=YD
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Z
'5itN^
k~[jk5te
L.;b(bFe
struts.multipart.saveDir "tyRnUP
The directory to use for storing uploaded files 45yP {+/-Q
设置存储上传文件的目录夹 K,S4
3fOOT7!FL
struts.objectFactory MzvhE0ab
The com.opensymphony.xwork2.ObjectFactory implementation class #cY[c1cNv
com.opensymphony.xwork2.ObjectFactory接口(spring) LLx0X
O@
Ca |}i+
struts.objectFactory.spring.autoWire *V&M5
Whether Spring should autoWire or not :2/L1A)O
是否自动绑定Spring !9d7wPUFr
+g1>h,K 3
struts.objectFactory.spring.useClassCache H!;N0",]N
Whether Spring should use its class cache or not oG,>Pk
是否spring应该使用自身的cache * F!B4go
6P{bUom?
struts.objectTypeDeterminer y [Vd*8
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class +<E#_)}`D6
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 }3z3GU8Q-
v47' dC
struts.serve.static.browserCache ".}R$W
If static content served by the Struts filter should set browser caching header properties or not WuK<?1meN
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 V!:!c]8F
e:G~P
u`
struts.serve.static ai 4 k?
Whether the Struts filter should serve static content or not eT%x(P
是否struts过滤器应该提供静态内容 *;Kp"j
k^7!iOK2
struts.tag.altSyntax W?Z>g"
Whether to use the alterative syntax for the tags or not ILuQ.VhBVN
是否可以用替代的语法替代tags (;fJXgj.
7-S?RU]g
struts.ui.templateDir dDS{XR
The directory containing UI templates YnpN
-Y%g
UI templates的目录夹 vP{i+s18B
eU"yF >6'
struts.ui.theme JA^!i98{
The default UI template theme b!H1|7>
默认的UI template主题 gJ l^K
+P(*S
struts.url.http.port \S h/<z
The HTTP port used by Struts URLs Tg)F.):
设置http端口 2|k$Vfz
{\>4)TA
struts.url.https.port -VohU-6 |
The HTTPS port used by Struts URLs &N.pW=%,N
设置https端口 ;0eVE
~gX1n9_n
struts.url.includeParams uyX
%&r
The default includeParams method to generate Struts URLs }Y-V!z5z!
在url中产生 默认的includeParams s#7"ZN
#IH9S5B [
~W@dF~r
struts.velocity.configfile OP!R>|
The Velocity configuration file path (aYu[ML
velocity配置文件路径 ?e9tnk3
..yV=idI
struts.velocity.contexts wH"9N+82M
List of Velocity context names ->ZP.7
velocity的context列表 s8
WB!x {t
Y%i<~"k
56C8)?
struts.velocity.manager.classname !$Uo$?gC
org.apache.struts2.views.velocity.VelocityManager implementation class 4j3q69TZR
org.apache.struts2.views.velocity.VelocityManager接口名 sm18u-
jwwRejNV
struts.velocity.toolboxlocation 8R)K$J$Hm
The location of the Velocity toolbox 2D!jVr!
velocity工具盒的位置 1XiA
struts.xslt.nocache YI0l&'7
Whether or not XSLT templates should not be cached NLZ5 5yo$
是否XSLT模版应该被缓存 _4oAk @A