struts2的struts.properties配置文件详解 ;|c,
4 2~;/4
struts.action.extension a<Ta *:R$0
The URL extension to use to determine if the request is meant for a Struts action @<+(40`*
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 'tc$#f^:
$xqphhBg
struts.configuration F-t-d1w6
The org.apache.struts2.config.Configuration implementation class ~ lS3+H
org.apache.struts2.config.Configuration接口名 Z(FAQ\7
>r3Wo%F'
struts.configuration.files s_|wvOW)'
A list of configuration files automatically loaded by Struts {^v50d
struts自动加载的一个配置文件列表 ^H>vJT
r mhB!Lo
struts.configuration.xml.reload ;X>KP,/r$
Whether to reload the XML configuration or not /D~:Ufw
是否加载xml配置(true,false) Ty5\zxC|
i^( 0,L
struts.continuations.package XyhdsH5%3!
The package containing actions that use Rife continuations wTLHg2'y^
含有actions的完整连续的package名称 `S2=LJ
]yyfE7{q
struts.custom.i18n.resources Y,9("'bo
Location of additional localization properties files to load G{:L^2>
加载附加的国际化属性文件(不包含.properties后缀) h^4oy^9
,Tpds ^
struts.custom.properties a)xN(xp##
Location of additional configuration properties files to load ,PnEDQ|l
加载附加的配置文件的位置 8Og9P1jVh
vwg\qKqSM
6Rso}hF}}
struts.devMode Jyn>:Yq(
Whether Struts is in development mode or not nHhg#wR
是否为struts开发模式 ='f>p+*c%
eL],\\q
struts.dispatcher.parametersWorkaround uE>}>6)b
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic WW&0FugY_
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~k&b3-A}
y 8sI @y6
struts.enable.DynamicMethodInvocation 1}N5WBp
Allows one to disable dynamic method invocation from the URL Z)HQlm
允许动态方法调用 5(,WN
UJQ!~g.y]
struts.freemarker.manager.classname
n1v%S"^
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,}bC
org.apache.struts2.views.freemarker.FreemarkerManager接口名 7oUYRqd
4&?%" 2
struts.i18n.encoding ?qdG)jo=
The encoding to use for localization messages g{&ux k);
国际化信息内码 OUD<+i,
U*zjEY:A
struts.i18n.reload (FBKP#x)^
Whether the localization messages should automatically be reloaded 7Y_S%B:F
是否国际化信息自动加载 ]+oPwp;il
p%n}a%%I
struts.locale HYtkSsXLN
The default locale for the Struts application 0 {w?u %'
默认的国际化地区信息 t4nAy)I)P
%_5B"on
struts.mapper.class mI l_
[
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class yfq"atj
org.apache.struts2.dispatcher.mapper.ActionMapper接口 0L|A
>Z/,DIn,I
struts.multipart.maxSize b-wFnMXk+
The maximize size of a multipart request (file upload) D:%v((Ccw
multipart请求信息的最大尺寸(文件上传用) (fq>P1-
hD;[}8qN{
struts.multipart.parser |d8/ZD
The org.apache.struts2.dispatcher.multipart. 2/I^ :*e
MultiPartRequest parser implementation for a multipart request (file upload) Pb!kl #
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &a O3N
#[2]B8NZ
<pz;G}
struts.multipart.saveDir $ U<xrN>O
The directory to use for storing uploaded files ,Xao{o(
设置存储上传文件的目录夹 CfAX,f"ZP
b d9]'
struts.objectFactory A|jaWZM-
The com.opensymphony.xwork2.ObjectFactory implementation class /mvuSNk
com.opensymphony.xwork2.ObjectFactory接口(spring) ZNzye1JSm
v50=D/&w
struts.objectFactory.spring.autoWire afH`<!
Whether Spring should autoWire or not %U'YOE6
是否自动绑定Spring b{9q
c8#A^q}
struts.objectFactory.spring.useClassCache W0X?"Ms|a
Whether Spring should use its class cache or not 5`0tG;
是否spring应该使用自身的cache ;A1pqHr
Ig]Gg/1G
struts.objectTypeDeterminer qbmy~\ZY
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ;g*ab
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &c0U\G|j
OLlNCb#t
struts.serve.static.browserCache HA>b'lqBM
If static content served by the Struts filter should set browser caching header properties or not wR1M_&-s
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 kE=}.
^b'|`R+~}
struts.serve.static G!@tW`HO
Whether the Struts filter should serve static content or not R9~%ORI#;
是否struts过滤器应该提供静态内容 ?HttqK)
JZ'`.yK:
struts.tag.altSyntax <1>\?$)D
Whether to use the alterative syntax for the tags or not yX?& K}JI
是否可以用替代的语法替代tags RD<l<+C^~
UuW"
struts.ui.templateDir Ydh]EO0'
The directory containing UI templates h0L*8P`t
UI templates的目录夹 hQvSh\p
l$z\8]x
struts.ui.theme ggfL
d r
The default UI template theme _da>=^hFJ
默认的UI template主题 Kr!8H/Z
Xh;Pbm|K
struts.url.http.port
r1)Og
The HTTP port used by Struts URLs R6*:Us0\FJ
设置http端口 Pqi>,c<&mL
\XD&0inv
struts.url.https.port rXdI`l#
The HTTPS port used by Struts URLs r1]shb%J?
设置https端口 hU@9vU<U
$xJVUV
struts.url.includeParams F`r=M%yh
The default includeParams method to generate Struts URLs yuWoz*:t
在url中产生 默认的includeParams W/OZ}ky}^
+v{<<
]z;%%'gW6
struts.velocity.configfile p=V (_
The Velocity configuration file path vE^Hk!^
velocity配置文件路径 uAwT)km
{
);'8*e'
struts.velocity.contexts C AVqjT7
List of Velocity context names fE8/tx](
velocity的context列表 iZyhj%#
]^uO3!+
LSS3(l[,:
struts.velocity.manager.classname a39Kl_\
org.apache.struts2.views.velocity.VelocityManager implementation class 9K-=2hvv
org.apache.struts2.views.velocity.VelocityManager接口名 ;<OIu&,*
3~iIo&NZ
struts.velocity.toolboxlocation |9$K'+'
The location of the Velocity toolbox [/.o>R#J(
velocity工具盒的位置 9X/c%:)\=
struts.xslt.nocache uW},I6g
Whether or not XSLT templates should not be cached T1.`*,t)=
是否XSLT模版应该被缓存 u|z B\zd