struts2的struts.properties配置文件详解 4?1Qe\A^
&'$Bk5 D@G
struts.action.extension 9^W7i]-Z
The URL extension to use to determine if the request is meant for a Struts action `=H*4I-"
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 JY2<ECO
{ogBoDS
struts.configuration uVUU1@
The org.apache.struts2.config.Configuration implementation class ):'wxIVGI
org.apache.struts2.config.Configuration接口名 $U*eq[
V?j,$LixY
struts.configuration.files ,fp+nu8,
A list of configuration files automatically loaded by Struts i"}z9Ae~.
struts自动加载的一个配置文件列表 iT
:3e%
8{jXSCP#
struts.configuration.xml.reload [*^.$s(
Whether to reload the XML configuration or not 6p4BsWPx
是否加载xml配置(true,false) >8_y-74
U0_)J1Yp
struts.continuations.package d}4NL:=&
The package containing actions that use Rife continuations @4*:qj?
含有actions的完整连续的package名称 0~fjY^(
`-uE(qp
struts.custom.i18n.resources #"4ioTL2
Location of additional localization properties files to load aDdGhB
加载附加的国际化属性文件(不包含.properties后缀) =\< 7+nv
3P6O]x<-?
struts.custom.properties xn3 _ED
Location of additional configuration properties files to load wnokP
加载附加的配置文件的位置 eLSzGbKf
_/LGGt4&%
.2fvRN92
struts.devMode 6Cj7 =|L7
Whether Struts is in development mode or not %XGm\p
是否为struts开发模式 !G3AD3
ZRxOXt&;
struts.dispatcher.parametersWorkaround W<)P@_+-
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic rw'+2\
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) =IC.FT}
,/w*sE
struts.enable.DynamicMethodInvocation _iJ~O1qx,w
Allows one to disable dynamic method invocation from the URL zL
yI|%KH
允许动态方法调用 b)I-do+
_Q5mPBO
struts.freemarker.manager.classname C#U(POA
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class zl1*GVg
org.apache.struts2.views.freemarker.FreemarkerManager接口名 yiZtG#6K{
]W5*R07
struts.i18n.encoding gyvrQ, u
The encoding to use for localization messages 5.6tVr
国际化信息内码 2l)"I
!rUP&DA
struts.i18n.reload >1sa*Wf
Whether the localization messages should automatically be reloaded {U=J>#@G
是否国际化信息自动加载 >38>R0k35
kG>jb!e@(
struts.locale |C4fg6XDL
The default locale for the Struts application |Vpp'ipr
默认的国际化地区信息 }emUpju<C
z By%=)`
struts.mapper.class e"04jd/
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [Fr](&Tx
org.apache.struts2.dispatcher.mapper.ActionMapper接口 XG/xMz~
O@Aazc5K
struts.multipart.maxSize !J7`frv"(
The maximize size of a multipart request (file upload) L)JB^cxf
multipart请求信息的最大尺寸(文件上传用) fUjo',<s
]@$^Ju,
struts.multipart.parser ,{0Y:/T'
The org.apache.struts2.dispatcher.multipart. 59Pc:Gg;
MultiPartRequest parser implementation for a multipart request (file upload) 4zMvHe
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) T)mQ+&|
_KH91$iW8m
v+nXKNL
struts.multipart.saveDir X"{%,]sb G
The directory to use for storing uploaded files +_]Ui| l
设置存储上传文件的目录夹 0/Q_%
:
Ugri _
struts.objectFactory {W,5]-
The com.opensymphony.xwork2.ObjectFactory implementation class kk=n&M
com.opensymphony.xwork2.ObjectFactory接口(spring) v}$Q
tRoSq;VrS
struts.objectFactory.spring.autoWire oYu xkG
Whether Spring should autoWire or not 5T;LWS
是否自动绑定Spring 9<Pg2#*N0
!K-1tp$
struts.objectFactory.spring.useClassCache MLdwf}[
Whether Spring should use its class cache or not OR@
67Y
是否spring应该使用自身的cache #kW=|8X
g6Vkns4
struts.objectTypeDeterminer {"wF;*U.V
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 1-gM)x{Jr
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 x$LCLP#$H
lM\dK)p21O
struts.serve.static.browserCache jW:7PS
If static content served by the Struts filter should set browser caching header properties or not b-&rMML
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,l>w9?0Z
eHgr"f*7
struts.serve.static u2#q7}
Whether the Struts filter should serve static content or not wiN0|h>,
是否struts过滤器应该提供静态内容 84(Jo_9
5=TgOS]R
struts.tag.altSyntax +p\E%<uQ
Whether to use the alterative syntax for the tags or not t1Ts!Q2
是否可以用替代的语法替代tags 0!\gK<,z
H(^Ehv>
struts.ui.templateDir JO|j?%6YY
The directory containing UI templates #ZZe*B!s_
UI templates的目录夹 KGgtEh|
5HbHJ.|r
struts.ui.theme )w].m
The default UI template theme b~.$1oZ
默认的UI template主题 F8w7N$/V",
?nc:bC
struts.url.http.port ':4ny]F
The HTTP port used by Struts URLs u(Mbp$R'?
设置http端口 iF`_-t/k
5RLO}Vn]
struts.url.https.port K\-N'M!Z
The HTTPS port used by Struts URLs 1sXCu|\q
设置https端口 XoyxS:=>|[
hE:~~ox
struts.url.includeParams =o(}=T>:"
The default includeParams method to generate Struts URLs z_'^=9m
在url中产生 默认的includeParams CAc]SxLh
g+o$&'\
F>.y>h
struts.velocity.configfile xI<l1@
The Velocity configuration file path />xEpR3_A
velocity配置文件路径 ]{tWfv|Xg8
8fQ~UcT$
struts.velocity.contexts 91z=ou
List of Velocity context names ](oeMl18R
velocity的context列表 $l,U)
*$7^.eHfdd
A6szTX#0
struts.velocity.manager.classname Hl$qmq
org.apache.struts2.views.velocity.VelocityManager implementation class 3JD62wtx
org.apache.struts2.views.velocity.VelocityManager接口名 *l d)nH{
ta&z lZt
struts.velocity.toolboxlocation Ie!KIU
The location of the Velocity toolbox vT5GUO{5
velocity工具盒的位置 jpi,BVTI-X
struts.xslt.nocache 5{-Hg[+9
Whether or not XSLT templates should not be cached yi^X?E{WnX
是否XSLT模版应该被缓存 ,GWa3.&.d