struts2的struts.properties配置文件详解 sR[!6[AA
`9+R]C]z8
struts.action.extension vy{k"W&S
The URL extension to use to determine if the request is meant for a Struts action !H[01
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 1q3"qYH
G2?#MO
struts.configuration ey,f igjd.
The org.apache.struts2.config.Configuration implementation class XWQ `]m)
org.apache.struts2.config.Configuration接口名 tHHJ|4C
R!
On
struts.configuration.files EP>Lh7E9n
A list of configuration files automatically loaded by Struts ('U TjV
struts自动加载的一个配置文件列表 4,Oa(b
bt_c$TN
struts.configuration.xml.reload 19c_=$mV
Whether to reload the XML configuration or not QKB+mjMH#x
是否加载xml配置(true,false) ]'M B3@T
@ =~k[o
struts.continuations.package .P/0`A{&
The package containing actions that use Rife continuations }LKD9U5;8
含有actions的完整连续的package名称 B{D4.!a
cL~WDW/
struts.custom.i18n.resources -,T!/E
Location of additional localization properties files to load V,0$mBYa
加载附加的国际化属性文件(不包含.properties后缀) Wf"GA i
OKK Ko`RN
struts.custom.properties sQkijo.
Location of additional configuration properties files to load s-+-?$K
加载附加的配置文件的位置 "~._G5i.
.%e>>U>F
bv'>4a
struts.devMode -N wic|
Whether Struts is in development mode or not OuEcoI K
是否为struts开发模式 ]@<VLP?
KYJP`va6k
struts.dispatcher.parametersWorkaround + xO3<u
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic w0oTV;yh
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) CEaAtAM
E;x-O)(&
struts.enable.DynamicMethodInvocation , QWus"5H
Allows one to disable dynamic method invocation from the URL <!XunXh
允许动态方法调用 #$-?[c$>
oYTLC@98}
struts.freemarker.manager.classname o{fYoBgr
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class U5H%wA['m
org.apache.struts2.views.freemarker.FreemarkerManager接口名 TK[[6IB
L6Brs"9B
struts.i18n.encoding zGyRzxFN
The encoding to use for localization messages C$~ly=@
国际化信息内码 ~jzLw@"~$^
:{iH(ae;
struts.i18n.reload @48!e-W
Whether the localization messages should automatically be reloaded +$nNYD
是否国际化信息自动加载 \G>C{v;
5[jS(1a`c
struts.locale 5X+`aB
The default locale for the Struts application QOYMT( j
默认的国际化地区信息 N{Z+
ej&.tNvq
struts.mapper.class 9X=<uS
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `y^\c#k
org.apache.struts2.dispatcher.mapper.ActionMapper接口 amC)t8L?
Ao}<a1f
struts.multipart.maxSize dVj2x-R)
The maximize size of a multipart request (file upload) :i?6#_2IC
multipart请求信息的最大尺寸(文件上传用) LO)!Fj4|
Y
z&!0Hfd
struts.multipart.parser d7[^pN
The org.apache.struts2.dispatcher.multipart. %aMC[i
MultiPartRequest parser implementation for a multipart request (file upload) G$V=\60a-
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)
`x#S.b
P(b[|QF
0RMW>v/7kL
struts.multipart.saveDir hk:>*B}
The directory to use for storing uploaded files
I[\7Bf
设置存储上传文件的目录夹 uGb+ *tD
d4 \
struts.objectFactory U'(zKqC
The com.opensymphony.xwork2.ObjectFactory implementation class H@G$K@L
com.opensymphony.xwork2.ObjectFactory接口(spring) *8?2+)5"
L@s6u+uu
struts.objectFactory.spring.autoWire hx9t{Zi
Whether Spring should autoWire or not LOcZadr
是否自动绑定Spring !37I2*+4
03v& k
struts.objectFactory.spring.useClassCache Q c&Y|]p"
Whether Spring should use its class cache or not yTg|L9
是否spring应该使用自身的cache tJ K58m$
lW-h
@
struts.objectTypeDeterminer {TpbUj0
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 76@W:L*J$J
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 `G\Gk|4;2
0 {z8pNrc
struts.serve.static.browserCache l`N#~<.
If static content served by the Struts filter should set browser caching header properties or not %\sE \]K
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 YCltS!k
O{~Xp!QQt
struts.serve.static G>0d^bx;E
Whether the Struts filter should serve static content or not \|QB;7u
是否struts过滤器应该提供静态内容 hN!;Tny
L +Uq4S^
struts.tag.altSyntax T*%GeY
[
Whether to use the alterative syntax for the tags or not UH%H9;
,$]
是否可以用替代的语法替代tags SN ?Z7
-_5Dk'R#`
struts.ui.templateDir ZM -P
The directory containing UI templates :2S?|7U4
UI templates的目录夹 T%6JVFD
"X2'k@s`
struts.ui.theme ]goJ- &
The default UI template theme a<\n$E#q
默认的UI template主题 D|)_c1g
|rk.t g9
struts.url.http.port 06 %-tAq:
The HTTP port used by Struts URLs }RadbJ{q=
设置http端口 RVwS<g)~1
EMO{u
struts.url.https.port cb]X27uww
The HTTPS port used by Struts URLs
q#mL-3OQ
设置https端口 8b]4uI<
=-:%~ng
struts.url.includeParams o^X3YaS)
The default includeParams method to generate Struts URLs 9|<Li[
在url中产生 默认的includeParams KqJln)7
J+IItO4%
f<