struts2的struts.properties配置文件详解 -ktYS(8&
b55G1w
struts.action.extension yhyh\.
The URL extension to use to determine if the request is meant for a Struts action )#Y:Bj7H@2
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 P~"""3de4
Fd9Z7C
struts.configuration 7|?Ht]
The org.apache.struts2.config.Configuration implementation class 6r,zOs-I]
org.apache.struts2.config.Configuration接口名 q.lh
?Ye%k
struts.configuration.files .MRLAG
A list of configuration files automatically loaded by Struts iWn7vv/t
struts自动加载的一个配置文件列表 0+S'i82=M
F=kiYa}
struts.configuration.xml.reload ;nf}O87~
Whether to reload the XML configuration or not JhB$s
是否加载xml配置(true,false) h6(L22Hn
.O.fD
struts.continuations.package WJ]g7!Ks
The package containing actions that use Rife continuations E__A1j*gd
含有actions的完整连续的package名称 83"C~xe?p4
E`uK7 2j
struts.custom.i18n.resources /s`xPxvt
Location of additional localization properties files to load 3-2?mV>5
加载附加的国际化属性文件(不包含.properties后缀) hzX&BI
m^,3jssdA
struts.custom.properties wijY]$
Location of additional configuration properties files to load 1)
G6
加载附加的配置文件的位置 UX<0/"0h
9'JkLgz;d+
DzCb'#
struts.devMode ymyk.#Z<%
Whether Struts is in development mode or not HC ?XNR&
是否为struts开发模式 cK+)MFOu+
CB?H`R pC.
struts.dispatcher.parametersWorkaround (fWQ?6[
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic y]f| U-f:~
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) px_%5^zRQ
BRMR>
~k(
struts.enable.DynamicMethodInvocation C/pu]%n@4
Allows one to disable dynamic method invocation from the URL ~w RozV
允许动态方法调用 Z7R+'OC
4'#
_b
struts.freemarker.manager.classname Aaix?
|XN
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class GpM_Qp
org.apache.struts2.views.freemarker.FreemarkerManager接口名 J)Td'iT(
)F35WP~
struts.i18n.encoding =").W \,
The encoding to use for localization messages eM`"$xc
Oe
国际化信息内码 aA.TlG@zP
sFxciCpN
struts.i18n.reload u8@>ThPD
Whether the localization messages should automatically be reloaded -n'%MT=Cd
是否国际化信息自动加载 P(Hh%9'(
5=Y\d,SS"
struts.locale bpeWK&
The default locale for the Struts application _Msaub!N
默认的国际化地区信息 /-ky'S9
Z@`HFZJ
struts.mapper.class O8ZHIs
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class PK*
$
org.apache.struts2.dispatcher.mapper.ActionMapper接口 b%,`;hy{
-f:uNF]Ls
struts.multipart.maxSize YEqWTB|w
The maximize size of a multipart request (file upload) Bhrp"l
+|
multipart请求信息的最大尺寸(文件上传用) :!Tb/1
%G s!oD
struts.multipart.parser /=qn1
The org.apache.struts2.dispatcher.multipart. u5FlT3hY.
MultiPartRequest parser implementation for a multipart request (file upload) =
8%+$vX
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) bx<7@
/P|jHK|{
RA+k/2]y!
struts.multipart.saveDir "$BWP
The directory to use for storing uploaded files z<mU$<
设置存储上传文件的目录夹 {GiR-q{t
Wc$1Re{z
struts.objectFactory Ie?C<(8Ul
The com.opensymphony.xwork2.ObjectFactory implementation class
`#lNur\x
com.opensymphony.xwork2.ObjectFactory接口(spring) ^T|~L<A3
p( Q5!3C0q
struts.objectFactory.spring.autoWire %/&?t`%H
Whether Spring should autoWire or not &6L{1
是否自动绑定Spring Sf\mg4,
oa|nQ`[
struts.objectFactory.spring.useClassCache fhmqO0
Whether Spring should use its class cache or not ,9p
4(jjX
是否spring应该使用自身的cache p`JD8c
jM90
gPX>,
struts.objectTypeDeterminer R{hKl#j;>
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class f+huhJS5e
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 gI^*O@Q4{b
# -Ts]4v
struts.serve.static.browserCache UpS`KgF"v
If static content served by the Struts filter should set browser caching header properties or not PGHl:4`Es!
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 !}^{W)h[
?J~(qa a;
struts.serve.static 7m=tu?@
Whether the Struts filter should serve static content or not puz~Rfn#*
是否struts过滤器应该提供静态内容 JQ8wL _C>
X}xy
v
struts.tag.altSyntax d1#;>MiU
Whether to use the alterative syntax for the tags or not a ^b_&}y
是否可以用替代的语法替代tags Bn/{J
wvA@\-.+
struts.ui.templateDir amIG9:-1'
The directory containing UI templates 7PZ0
UI templates的目录夹 rr#&0`]
Khxl'qj
struts.ui.theme &la;Vu"dp
The default UI template theme Pz1pEyuL
默认的UI template主题 2, ` =i
[L,Tf_t^Y
struts.url.http.port ,r{\aW@
The HTTP port used by Struts URLs /AP@Bhm
设置http端口 F"3PP ~
oToUpkAI
struts.url.https.port g#1_`gK
The HTTPS port used by Struts URLs W9?Vh{w
设置https端口 ,\f!e#d
`Q*L!/K+
struts.url.includeParams nmVL%66K
The default includeParams method to generate Struts URLs { CkxUec
在url中产生 默认的includeParams <w.W[ak
?*a:f"vQ
@U(D&_H,K
struts.velocity.configfile J]~LmSh
The Velocity configuration file path R$=UJ}>
velocity配置文件路径 n=n!Hn
EOjo>w>
struts.velocity.contexts k9.2*+vvg
List of Velocity context names |jniI(
velocity的context列表 [|\~-6"7N|
8|`4D 'Ln
qde.;Yv9
struts.velocity.manager.classname ]z,W1Zs?
org.apache.struts2.views.velocity.VelocityManager implementation class &<-Sxjj
org.apache.struts2.views.velocity.VelocityManager接口名 <5A(rDij
B8:_yAv o
struts.velocity.toolboxlocation -U(T
The location of the Velocity toolbox <Vr"
velocity工具盒的位置 |Gb"%5YD
struts.xslt.nocache x5k6yHn
Whether or not XSLT templates should not be cached %^g BDlR^
是否XSLT模版应该被缓存 Ex~[Hk4ow