struts2的struts.properties配置文件详解 U&GSMjqg
)m|)cLT&
struts.action.extension wZ0RI{)s'
The URL extension to use to determine if the request is meant for a Struts action X3@Uih}|
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;O+=
6>W
nH_M#
struts.configuration )1N~-VuT
The org.apache.struts2.config.Configuration implementation class Dr)B0]KG
org.apache.struts2.config.Configuration接口名 ',P$m&z
OQ&l/|{O0?
struts.configuration.files <v%Q|r
A list of configuration files automatically loaded by Struts G
.NGS%v
struts自动加载的一个配置文件列表 :pq+SifP
-e(e;e
struts.configuration.xml.reload `p#tx.o
Whether to reload the XML configuration or not n86LU Sj5
是否加载xml配置(true,false) !cW6dc^
e w?4;
struts.continuations.package "Doz~R\\
The package containing actions that use Rife continuations FN\*x:g
含有actions的完整连续的package名称 Xh+;$2l.B
h/k00hD60
struts.custom.i18n.resources xPCRT*Pd
Location of additional localization properties files to load T\q:
加载附加的国际化属性文件(不包含.properties后缀) 9eBD)tnw
>P@g].Q-
struts.custom.properties a5caryZ"z
Location of additional configuration properties files to load Y7BmW+
加载附加的配置文件的位置 gamE^Ee
a`I
\19p]
>cJix
1
struts.devMode 0fu*}v"
Whether Struts is in development mode or not VkFMr8@|
是否为struts开发模式 cDS\=Bf
52ExRG S
struts.dispatcher.parametersWorkaround -Gy=1W`09
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >e^bq/'
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6dgwsl~
y*=sboX
struts.enable.DynamicMethodInvocation 2D UY4Ti
Allows one to disable dynamic method invocation from the URL HA$Xg
j
允许动态方法调用 %:t! u&:q
F_G .$aCc
struts.freemarker.manager.classname fJOwE
g|
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $7" Y/9Y
org.apache.struts2.views.freemarker.FreemarkerManager接口名 0nbY~j$A=
(@m/j2z
struts.i18n.encoding BMug7xl"
The encoding to use for localization messages -^+fZBU;
国际化信息内码 0CO@@`~4
9HB+4q[
struts.i18n.reload xpX<iT>5u
Whether the localization messages should automatically be reloaded ~y{_NgMo
是否国际化信息自动加载 _AzI\8m
.do8\
struts.locale (\ge7sE-oo
The default locale for the Struts application t0,=U8]w
默认的国际化地区信息 AXF
1{
E5!vw@,
struts.mapper.class ]"}BqS0
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ":0u%E?s
org.apache.struts2.dispatcher.mapper.ActionMapper接口 %_."JT$v{
"}MP {/
struts.multipart.maxSize {]2^b )
The maximize size of a multipart request (file upload) eAmI~oku
multipart请求信息的最大尺寸(文件上传用) _K}q%In
nrHC;R.nE
struts.multipart.parser aq)g&.dw?
The org.apache.struts2.dispatcher.multipart. , #=TputM
MultiPartRequest parser implementation for a multipart request (file upload) s_ t/
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) C~egF=w
? X6M8`
fLnwA|n=
struts.multipart.saveDir O}>@G
The directory to use for storing uploaded files l^Ob60)2
设置存储上传文件的目录夹 793 15A
^s6}[LDW>@
struts.objectFactory }4N'as/ZO
The com.opensymphony.xwork2.ObjectFactory implementation class 8OKG@hc
com.opensymphony.xwork2.ObjectFactory接口(spring) "4\k1H"_
^D<CoxG
struts.objectFactory.spring.autoWire L&c
&
<+0T
Whether Spring should autoWire or not ( +Sv3h
是否自动绑定Spring KCO.8=y3
D(l,Z
struts.objectFactory.spring.useClassCache `6)(Fk--"
Whether Spring should use its class cache or not )X-'Q -
是否spring应该使用自身的cache 8tQ;N'
TG[u3Y4
struts.objectTypeDeterminer -'Ay(h
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class rRg,{:;A
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 u$yXuFj/
Vbt!, 2_)
struts.serve.static.browserCache 6#7hMQ0&;O
If static content served by the Struts filter should set browser caching header properties or not H1f='k]SZ
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 w i[9RD@
bn)1G$0|
struts.serve.static k:I,$"y4
Whether the Struts filter should serve static content or not OHi.5 (
是否struts过滤器应该提供静态内容 tPl 4'tW_
#B<EMGH
struts.tag.altSyntax }[Z'Sg]s
Whether to use the alterative syntax for the tags or not g3].STz6w
是否可以用替代的语法替代tags gu3iaM$W
Mh*r)B~%[
struts.ui.templateDir dzEi^*
(8
The directory containing UI templates 4XNheP;b
UI templates的目录夹 VE-l6@`
w+/`l*
struts.ui.theme Z/%FQ
The default UI template theme kV+^1@"
默认的UI template主题 Gsv<Rjj:
lhHH|~t0
struts.url.http.port M#;
ks9
The HTTP port used by Struts URLs 0CX,"d_T,
设置http端口 ]o8]b7-
Bhxs(NO
struts.url.https.port yI 2UmhA
The HTTPS port used by Struts URLs 3("C'(W
设置https端口 KEtV
Sp492W+
struts.url.includeParams .ojEKu+EJ'
The default includeParams method to generate Struts URLs gYhY1Mym
在url中产生 默认的includeParams iI{L>
<mQXS87
?D6uviQg
struts.velocity.configfile 6LBdTnzUd
The Velocity configuration file path
jd](m:eG
velocity配置文件路径 \= v.$u"c
/QY F|%7!
struts.velocity.contexts iqvLu{
List of Velocity context names S[1<Qrv]
velocity的context列表 hE|P|0U,n
4T31<wk
gom!dB0J
struts.velocity.manager.classname X>8,C^~$1
org.apache.struts2.views.velocity.VelocityManager implementation class g3z/yj
org.apache.struts2.views.velocity.VelocityManager接口名 y6nP=g|')>
0n{.96r0R
struts.velocity.toolboxlocation zMR)w77
The location of the Velocity toolbox q2*A'C
velocity工具盒的位置 -NXxxK
struts.xslt.nocache xIGq+yd(
Whether or not XSLT templates should not be cached eAf i!!Z<
是否XSLT模版应该被缓存 |tGUx*NN