struts2的struts.properties配置文件详解 1Hs'YzvY
t@q==VHF
struts.action.extension W>&!~9H
The URL extension to use to determine if the request is meant for a Struts action Y-~MkB
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )Kq@ m1>@
Hd_,`W@
struts.configuration j8;Uny9
The org.apache.struts2.config.Configuration implementation class u4ZOHy_O^
org.apache.struts2.config.Configuration接口名 x@tI
>L J<6s[=
struts.configuration.files SZ~lCdWad
A list of configuration files automatically loaded by Struts +-qa7
struts自动加载的一个配置文件列表 I/go$@E"
NYc ;Zwv9
struts.configuration.xml.reload GIhFOK
Whether to reload the XML configuration or not '~zi~Q7M
是否加载xml配置(true,false) Y)D F.ca(
L9d|7.b
struts.continuations.package }H|'W[Q.
The package containing actions that use Rife continuations cJzkA^T9
含有actions的完整连续的package名称 12tk$FcY8*
g1@rY0O
struts.custom.i18n.resources 9K-,#a
Location of additional localization properties files to load <Df2
加载附加的国际化属性文件(不包含.properties后缀) FIx|4[&>S
Tt4Q|"CJA
struts.custom.properties d
'\^S}
Location of additional configuration properties files to load &ju.5v|
加载附加的配置文件的位置 G|TnvZ KX
kt+h\^g
9U Hh#
struts.devMode w!-MMT4y
Whether Struts is in development mode or not C$4{'J-ZH
是否为struts开发模式 ,s/laZ)V
e@iz`~[
struts.dispatcher.parametersWorkaround YKzfI9Y
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic o>|DT(Ib
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 03"FK"2S
wQa,ol_p
struts.enable.DynamicMethodInvocation ]~!CJ8d
Allows one to disable dynamic method invocation from the URL 7MsJ*En
允许动态方法调用 ]}n|5
(L:Mdo
struts.freemarker.manager.classname z<gII~%
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class w+a5/i@
org.apache.struts2.views.freemarker.FreemarkerManager接口名 \i\>$'f*z
KyBtt47\
struts.i18n.encoding D[)_
f
The encoding to use for localization messages KNR7Igw?}
国际化信息内码 $F NH:r<
_7~q|
struts.i18n.reload q*kLi~Oe
Whether the localization messages should automatically be reloaded O%w'nz"
是否国际化信息自动加载 + WT?p]
=`UFg>-
struts.locale -)xl?IB%
The default locale for the Struts application ')/w+|F
默认的国际化地区信息 Ihv@2{*(b
&h_Y?5k K
struts.mapper.class #^(Yw|/K
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {ft |*
org.apache.struts2.dispatcher.mapper.ActionMapper接口 c'mg=jH
AGKT* l.-
struts.multipart.maxSize + R~!G
The maximize size of a multipart request (file upload) hBVm;`
multipart请求信息的最大尺寸(文件上传用) YMVi7D~;Q$
r$Ni>[as
struts.multipart.parser <{@ D^L6h
The org.apache.struts2.dispatcher.multipart. 5\h 6'
MultiPartRequest parser implementation for a multipart request (file upload) 2p4iir
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Yq4nmr4
BzV97'
DiGHo~f
struts.multipart.saveDir <N>7.G
The directory to use for storing uploaded files V]m}xZ'?^
设置存储上传文件的目录夹 KZa6*,,s
6/ T/A+u
struts.objectFactory !6a;/ys
The com.opensymphony.xwork2.ObjectFactory implementation class 53d`+an2
com.opensymphony.xwork2.ObjectFactory接口(spring) y&bZai8WlE
;=k{[g 'gv
struts.objectFactory.spring.autoWire ,X;$-.
Whether Spring should autoWire or not }EP}D?Mmu
是否自动绑定Spring W;os4'h$
lY2~{Y|4s
struts.objectFactory.spring.useClassCache ~*]7f%L-
Whether Spring should use its class cache or not 3\{\ al
是否spring应该使用自身的cache ;C=V- r
fEiNHV x
struts.objectTypeDeterminer {47Uu%XT
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class J<4_<.o(a
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 g9NE>n(3
ecO$L<9>
struts.serve.static.browserCache qnnRS
If static content served by the Struts filter should set browser caching header properties or not !ZvVj\{
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ~b0l?P*Ff
<:T/hm$
struts.serve.static G)c+GoK
Whether the Struts filter should serve static content or not 3x7fa^umR
是否struts过滤器应该提供静态内容 e@S$[,8
/m,i,NX07
struts.tag.altSyntax 2(Yg',aMY-
Whether to use the alterative syntax for the tags or not Fy!s$!\C0
是否可以用替代的语法替代tags z`I%3U5(
SGba6b31
struts.ui.templateDir p$= 3$I
The directory containing UI templates qh&q<M
UI templates的目录夹 F9d6#~
CfD4m,6
struts.ui.theme %_CL/H
The default UI template theme 5wE6 gRJ
默认的UI template主题 ZX.,<vumSy
e'c3.sQ|?
struts.url.http.port vILB$%I
The HTTP port used by Struts URLs 9}Za_ZgG
设置http端口 cKOXsdH?SL
,\#j6R,{I
struts.url.https.port "Mv^S'?>
The HTTPS port used by Struts URLs w5rtYTI
设置https端口 l-!"
m=v.<+>
struts.url.includeParams Z#[%JUYp'
The default includeParams method to generate Struts URLs |id7@3leu
在url中产生 默认的includeParams (n_.bSI
1vCp<D9<
a?4Asn
struts.velocity.configfile U3v~R4
The Velocity configuration file path +
65<|0
velocity配置文件路径 :_2:Fh.}3~
WE_'u+!B
struts.velocity.contexts | z_av
List of Velocity context names 5p:2gsk
velocity的context列表 K`ygW|?gt
B}*\ pdJ
gbh/`
struts.velocity.manager.classname ) te_ <W
org.apache.struts2.views.velocity.VelocityManager implementation class 9$VdYw7D
org.apache.struts2.views.velocity.VelocityManager接口名 D&@ js!|5
B6\/xKmv?8
struts.velocity.toolboxlocation SrOv*
D 3
The location of the Velocity toolbox QJ>=a./
velocity工具盒的位置 &hi][Pt
struts.xslt.nocache HM"(cB(n`
Whether or not XSLT templates should not be cached 7Wiwnv_"
是否XSLT模版应该被缓存 Vhb~kI!x