struts2的struts.properties配置文件详解 JVTG3:zD
c6dL
S
struts.action.extension F=^vu7rf
The URL extension to use to determine if the request is meant for a Struts action o *I-~k
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 X'[SCs
h.~S^uKi*
struts.configuration qdj,Qz9ly
The org.apache.struts2.config.Configuration implementation class |TEf? <"c
org.apache.struts2.config.Configuration接口名 wTIOCj
0R*
struts.configuration.files 4U>
A list of configuration files automatically loaded by Struts c+|,2e
0T
struts自动加载的一个配置文件列表 Te!q(;L`4
O2Rv^la
struts.configuration.xml.reload xp>ra2A
Whether to reload the XML configuration or not pt|u?T_+
是否加载xml配置(true,false) kV6T#RVob
X )g<F
struts.continuations.package CQzJ_aSJ(
The package containing actions that use Rife continuations Al'
sY^B
含有actions的完整连续的package名称 IM)\-O\Wd
eH=lX9
struts.custom.i18n.resources |ay W _5}
Location of additional localization properties files to load Q6kkMLh
加载附加的国际化属性文件(不包含.properties后缀) 07# ~cVI
SAc}5.
struts.custom.properties )5)S8~Oc
Location of additional configuration properties files to load SG;]Vr
加载附加的配置文件的位置 GZ
UDI#
vXRfsv y
W9{6?,]
struts.devMode |zGwt Z
Whether Struts is in development mode or not "M6:)h9jV
是否为struts开发模式 R.*KaCA
2\lUaC#E
struts.dispatcher.parametersWorkaround qA#!3<
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic HpuHJ#l
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) C B=H1+
W !2(Ph*
struts.enable.DynamicMethodInvocation Pfe&wA't
Allows one to disable dynamic method invocation from the URL PDzVXLpC
允许动态方法调用 )#9/vIQ
+JB. EW/
struts.freemarker.manager.classname {SbA(a?B
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,X)0+DNsq
org.apache.struts2.views.freemarker.FreemarkerManager接口名 2Do^N5y
c*9RzD#Zj
struts.i18n.encoding Pj8s;#~u
The encoding to use for localization messages aYkm]w;C
国际化信息内码 %f#3;tpC8
|/Am\tk#13
struts.i18n.reload "+[:\
Whether the localization messages should automatically be reloaded P'KaW u9z
是否国际化信息自动加载 q!$?G]-%
x4pl#~Su
struts.locale ^EN_C<V;"d
The default locale for the Struts application N9r02c
默认的国际化地区信息 Uz>5!_
c1'OIK C
struts.mapper.class sFC&DTb?
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class '{@hBB+ D
org.apache.struts2.dispatcher.mapper.ActionMapper接口 g(7htWr4
&^8>Kd8
struts.multipart.maxSize /Tv=BXL-
The maximize size of a multipart request (file upload) {W62%>v
multipart请求信息的最大尺寸(文件上传用) G0^WQQ4
xV:.)Dq9
struts.multipart.parser E%:!* 9
The org.apache.struts2.dispatcher.multipart. gz;( ).{
MultiPartRequest parser implementation for a multipart request (file upload) p^Kp= z
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) U#gHc:$
:=+s^K
1uG?R
struts.multipart.saveDir L~cswG'K
The directory to use for storing uploaded files
.taJCE
设置存储上传文件的目录夹 &n|#jo(gS
(d |
struts.objectFactory Ro*$7j0!Hf
The com.opensymphony.xwork2.ObjectFactory implementation class yb2*K+Kv
com.opensymphony.xwork2.ObjectFactory接口(spring) Ka1
F7b
|{k;pfPV
struts.objectFactory.spring.autoWire VZ&>zF
Whether Spring should autoWire or not ?D/r1%Z
是否自动绑定Spring 0|nvi=4~e|
B!K{y>|.
struts.objectFactory.spring.useClassCache xG
7;Ps4L
Whether Spring should use its class cache or not
S
U~vS
是否spring应该使用自身的cache #IDDKUE
2mP|
hp?
struts.objectTypeDeterminer %L+/GtxK
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class DZ?>9W{
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 JAj<*TB.%
+ ^{;o0kcx
struts.serve.static.browserCache u|<Z};a
If static content served by the Struts filter should set browser caching header properties or not ICo_O]
Ke
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0I* ^VGZ
&STgj|t_
struts.serve.static 6Ii2rEzD
Whether the Struts filter should serve static content or not 6C9KT;6
是否struts过滤器应该提供静态内容 j )Zi4<./
fw ._
struts.tag.altSyntax pOS:/~I3
Whether to use the alterative syntax for the tags or not J)Dw` =O0n
是否可以用替代的语法替代tags Hq8<g$
3!`Pv ?|o
struts.ui.templateDir 3M8P%
The directory containing UI templates ?q1&(g]qO
UI templates的目录夹 "\Jq2vM
ndT:,"s
struts.ui.theme Wxkk^J9F3
The default UI template theme $]:I1I
默认的UI template主题 Qzw~\KY:
1*S It5?4
struts.url.http.port @=h%;"
The HTTP port used by Struts URLs FVMR9~&+
设置http端口 p<?~~7V
4%LG9hS
struts.url.https.port K~z*P0g*
The HTTPS port used by Struts URLs #R4Mv(BG
设置https端口 5Qd |R
k:4 Zc3
struts.url.includeParams D{Y~kV|
The default includeParams method to generate Struts URLs U2 <*BRJ
在url中产生 默认的includeParams 4*&x% ~*
m~1{~'
&{9'ylv-B)
struts.velocity.configfile ?aEBS
The Velocity configuration file path w(8q qU+\
velocity配置文件路径 sqi~j(&\1
t1b$,jHmKl
struts.velocity.contexts fO[X<|9
List of Velocity context names GK)3a 9;
velocity的context列表 .{`+bT^b<2
V2g,JFp&
o+;=C@,'
struts.velocity.manager.classname kFgN^v^t
org.apache.struts2.views.velocity.VelocityManager implementation class bxyEn'vNvQ
org.apache.struts2.views.velocity.VelocityManager接口名 $^
(q0zR~l
D;Fvd:
struts.velocity.toolboxlocation =rl/l8|P
The location of the Velocity toolbox a3?Dtoy'
velocity工具盒的位置 leiED'
struts.xslt.nocache Q\z3YUk
Whether or not XSLT templates should not be cached `]\4yTd
是否XSLT模版应该被缓存 RKdf1C