struts2的struts.properties配置文件详解 OoOr@5g
-,^Z5N#\|
struts.action.extension $@@@</VbP
The URL extension to use to determine if the request is meant for a Struts action -cL wjI
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 L2{b~`UvP
<g'0q*qE
struts.configuration #Pe|}!)u
The org.apache.struts2.config.Configuration implementation class I.hy"y2&
org.apache.struts2.config.Configuration接口名 }CB9H$FkCY
|P(8T'
struts.configuration.files j5V{,lf
A list of configuration files automatically loaded by Struts WdJJt2'
struts自动加载的一个配置文件列表 EJaGz\\
s]Qo'q2
struts.configuration.xml.reload {RHa1wc
Whether to reload the XML configuration or not =sh3&8
是否加载xml配置(true,false) ~xU\%@I\
Be~In~~
struts.continuations.package [['
(,,r
The package containing actions that use Rife continuations rkWiGiisM
含有actions的完整连续的package名称 meArS*d
/j;HM[
struts.custom.i18n.resources erdA?
Location of additional localization properties files to load #v}pn2g%>
加载附加的国际化属性文件(不包含.properties后缀) _8&a%?R@W
EVW\Z 2N.
struts.custom.properties 2b^E8+r9
Location of additional configuration properties files to load ~U<=SyZYo
加载附加的配置文件的位置 WIYWql>*
dj5@9X
B)=)@h[f
struts.devMode + 3c (CTz
Whether Struts is in development mode or not I,@
6w
是否为struts开发模式 Tjj-8cg
)UN_,'H/V
struts.dispatcher.parametersWorkaround *r].EBJ\
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic cs7K^D;.V
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /[,0,B9!3
pv@w 8*
struts.enable.DynamicMethodInvocation k4`(7Z
Allows one to disable dynamic method invocation from the URL ,FWsgqL{l
允许动态方法调用 a&%v ^r[
/f]'_t0\.
struts.freemarker.manager.classname KkyZd9
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 'QQa :3<x
org.apache.struts2.views.freemarker.FreemarkerManager接口名 W WN2
uQO\vRh0
struts.i18n.encoding }Wz[ox 9b
The encoding to use for localization messages =H/ 5
国际化信息内码 Y?xc#'
UIK4]cYC'
struts.i18n.reload iPdR;O'
Whether the localization messages should automatically be reloaded Z:.*fs5
是否国际化信息自动加载 Bnh*;J0
RKD$'UWX
struts.locale m t}3/d
The default locale for the Struts application d~z%kl
5:
默认的国际化地区信息 kadw1sYj
-$ha@bCWO
struts.mapper.class )| 0(#R
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 21 N!?DR
org.apache.struts2.dispatcher.mapper.ActionMapper接口 :YM1p&|fS
"P8(R
struts.multipart.maxSize OTD<3Q
q
The maximize size of a multipart request (file upload) #y*p7~|@
multipart请求信息的最大尺寸(文件上传用) $mcq/W
_E8doV
struts.multipart.parser h1Logm+m
The org.apache.struts2.dispatcher.multipart. WuMr";2*E
MultiPartRequest parser implementation for a multipart request (file upload) `P?!2\/
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) I;+>@Cn(g<
*s$:"g-
?9ScKN
struts.multipart.saveDir oL
-udH
The directory to use for storing uploaded files tLzKM+Ct#
设置存储上传文件的目录夹 A0 $ds
xew s~74L
struts.objectFactory
A}G>JL
The com.opensymphony.xwork2.ObjectFactory implementation class npMPjknl
com.opensymphony.xwork2.ObjectFactory接口(spring) ".sRi
kS<9cy[O
struts.objectFactory.spring.autoWire 'DTq<`~?
Whether Spring should autoWire or not `Tc"a_p9t
是否自动绑定Spring Y%Tm
`$^V
j6#Vwc r
struts.objectFactory.spring.useClassCache {C5-M! D{<
Whether Spring should use its class cache or not #D
.hZ=!
是否spring应该使用自身的cache Oj#/R?%,X
l09SWug
struts.objectTypeDeterminer <~n%=^knE
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class l\HtP7]
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +%?\#E QJ
Y}
crE/
struts.serve.static.browserCache jh"YHe/X
If static content served by the Struts filter should set browser caching header properties or not X.[8L^ldh
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 '4,>#D8@O
HiSNEp$-4$
struts.serve.static .05x=28n%
Whether the Struts filter should serve static content or not <b_?[%(u
是否struts过滤器应该提供静态内容 O:jaA3
gb}>x O
struts.tag.altSyntax dyVfDF
Whether to use the alterative syntax for the tags or not ?b x ak
是否可以用替代的语法替代tags >;+q,U}
jO}<W 1qy
struts.ui.templateDir A 1B_EX.
The directory containing UI templates !xE@r,'oN
UI templates的目录夹 KEo?Cy?%ff
<uvA([r=Vq
struts.ui.theme ="P&!lu
The default UI template theme 5#Et.P'
默认的UI template主题 {~EPP
.
QSyPtjg]
struts.url.http.port +u;RFY^
The HTTP port used by Struts URLs kerBy\^
设置http端口 TnJJ& "~3b
Ny
G?^
struts.url.https.port #]z_pp:
The HTTPS port used by Struts URLs @6%o0p9zz
设置https端口 M?QX'fia
gXe`G(w
struts.url.includeParams l(d3N4iz
The default includeParams method to generate Struts URLs #A=ER[[
在url中产生 默认的includeParams Yz? 8n
|nmt /[
l09DH+
struts.velocity.configfile i/RA/q
The Velocity configuration file path Xp0S
velocity配置文件路径 );d"gv(]D
*Qy,?2
struts.velocity.contexts aRcVoOq
List of Velocity context names N `[ ?db-%
velocity的context列表 Y7<(_p7
.~fov8
t4<+]]
struts.velocity.manager.classname ,tak{["
org.apache.struts2.views.velocity.VelocityManager implementation class y\ax?(z
org.apache.struts2.views.velocity.VelocityManager接口名 nx@,oC4
Y'76! Y
struts.velocity.toolboxlocation USzO):o
The location of the Velocity toolbox oW3|b2D
velocity工具盒的位置 d$:LUxM#
struts.xslt.nocache DVjwY_nG7
Whether or not XSLT templates should not be cached 4P^CqD&i
是否XSLT模版应该被缓存 v0KJKrliGO