struts2的struts.properties配置文件详解 ZtmaV27s/
:5BCW68le
struts.action.extension T$<yl#FY
The URL extension to use to determine if the request is meant for a Struts action t fD7!N{
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 RB6Q>3g
$N Mu
struts.configuration _90<*{bt.
The org.apache.struts2.config.Configuration implementation class `<kB/T
org.apache.struts2.config.Configuration接口名 O8cZl1C3
ANgt\8
struts.configuration.files ioEjbqD<
A list of configuration files automatically loaded by Struts ?^2nrh,n+
struts自动加载的一个配置文件列表 q!W=U8`
hC9EL=
A
struts.configuration.xml.reload 97qf3^gGd
Whether to reload the XML configuration or not BMqr YW
是否加载xml配置(true,false) 7t1as.
5E*Qqe
struts.continuations.package (G/(w%#7_
The package containing actions that use Rife continuations R>]7l!3^1
含有actions的完整连续的package名称 |sY
)0DgFA6k_
struts.custom.i18n.resources E-($Xc
Location of additional localization properties files to load T
"hjL
加载附加的国际化属性文件(不包含.properties后缀) wph8ln"C-
s;..a&C'
struts.custom.properties B"zB=Aw
Location of additional configuration properties files to load Xk/iyp/
加载附加的配置文件的位置 ,L lYRj 5
#oR`_Dm)P
^B%c3U$o
struts.devMode g"k4Z
Whether Struts is in development mode or not :U *8S\$
是否为struts开发模式 FJ4,|x3v[x
.6LRg
struts.dispatcher.parametersWorkaround j S[#R_
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic fVf:voh
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9D Nd} rXO
wy8Q=X:vP
struts.enable.DynamicMethodInvocation NbTaI{r
Allows one to disable dynamic method invocation from the URL V.*y_=i8t
允许动态方法调用 w%plK6:6
EpQy;#=;
struts.freemarker.manager.classname aSu^
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class LnKgT1
org.apache.struts2.views.freemarker.FreemarkerManager接口名 e9
@{[
wu><a!3`=o
struts.i18n.encoding /-i m
g^^
The encoding to use for localization messages H(tC4'tA
国际化信息内码 D[?;+g/
}mzd23^W>P
struts.i18n.reload idGn{f((f
Whether the localization messages should automatically be reloaded `/'p1?Z"
是否国际化信息自动加载 1G.?Y3DC<
Z^z{,
u;!
struts.locale K*{RGE
The default locale for the Struts application I>JE\## ^n
默认的国际化地区信息 rsLkH&aM
Dr(2@0P
struts.mapper.class MG~Z)+g=y
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class a!/\:4-uc
org.apache.struts2.dispatcher.mapper.ActionMapper接口 X 6tJ
x,]x>Up
struts.multipart.maxSize JN4gH4ez)
The maximize size of a multipart request (file upload) e^3D`GA
multipart请求信息的最大尺寸(文件上传用) K;WQV,
ok0ZI>=,
struts.multipart.parser |m6rF7Q
The org.apache.struts2.dispatcher.multipart. a/J Mg
MultiPartRequest parser implementation for a multipart request (file upload) 0nL
#-`S
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &VA^LS@b
71Za!3+
AIY 1sSK
struts.multipart.saveDir c*.
The directory to use for storing uploaded files *4NY"EwjN
设置存储上传文件的目录夹 gzn:]Y^
: r ~iFP*
struts.objectFactory J(@" 7RX
The com.opensymphony.xwork2.ObjectFactory implementation class jf`w8*R
com.opensymphony.xwork2.ObjectFactory接口(spring) =}kISh
mXyN{`q=
struts.objectFactory.spring.autoWire 4w=v
/WDo
Whether Spring should autoWire or not fM7B<eB
是否自动绑定Spring sve} ent
.r{t&HO;Y
struts.objectFactory.spring.useClassCache /*{'p!?
Whether Spring should use its class cache or not <5}I6R;
是否spring应该使用自身的cache `4snTM!v&
}/&Zo=Q$
struts.objectTypeDeterminer C?>d$G8
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Q~qM;l\i
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 cu
foP&
y<j7iN
struts.serve.static.browserCache wK7w[Xt
If static content served by the Struts filter should set browser caching header properties or not m$^5{qpg
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 y0(.6HI
G4*&9Wo
struts.serve.static ^)Awjj9
Whether the Struts filter should serve static content or not Yl>Y.SO
是否struts过滤器应该提供静态内容 _u^3uzu
m"/..&'GC
struts.tag.altSyntax gaz",kK<
Whether to use the alterative syntax for the tags or not :Ae#+([V
是否可以用替代的语法替代tags `^[Tu 1
{<@ud0A:\
struts.ui.templateDir JDZuT#
The directory containing UI templates ^67}&O^1 ,
UI templates的目录夹 ?A7 AVR
-,+C*|mu
struts.ui.theme BJb,
The default UI template theme &V$cwB
默认的UI template主题 =pi,]m
NfPWcK[
struts.url.http.port iKV|~7nwO
The HTTP port used by Struts URLs YVa,?&i=N
设置http端口 Zv!XNc!"$y
~cSXBc,+
struts.url.https.port du$M
The HTTPS port used by Struts URLs ?%$O7_ThvA
设置https端口 M1Ff ,]w
,cS#
struts.url.includeParams L&)e}"
The default includeParams method to generate Struts URLs aVK,(j9u
在url中产生 默认的includeParams mj e9i
mz%l4w?'
}q]*aADe
struts.velocity.configfile 9xz@2b@
The Velocity configuration file path *cCx]C.~
velocity配置文件路径 j3;W-c`5
i0/QfB%O
struts.velocity.contexts b way+lh
List of Velocity context names zJW2F_
velocity的context列表 f~\H|E8(
LEPTL#WT1
H=,>-eVv*
struts.velocity.manager.classname xok
T
org.apache.struts2.views.velocity.VelocityManager implementation class i6k6l%
org.apache.struts2.views.velocity.VelocityManager接口名 2^
]^Yc
N,rd= m+
struts.velocity.toolboxlocation ]tT=jN&(
The location of the Velocity toolbox y[85eM
velocity工具盒的位置 qQ^CSn98J
struts.xslt.nocache =|aZNHqH
Whether or not XSLT templates should not be cached `<d.I%}
是否XSLT模版应该被缓存 G^nG^HTo5