struts2的struts.properties配置文件详解 [u$|/
@HiGc^X(
struts.action.extension Yku6\/^
The URL extension to use to determine if the request is meant for a Struts action 6PYm?i=p?
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 z HvE_-
[^?i<z{0C
struts.configuration Z'>UR.g
The org.apache.struts2.config.Configuration implementation class ;HH%OfQq
org.apache.struts2.config.Configuration接口名 `^,E4Q y
oH+PlL
struts.configuration.files XI ;] c5
A list of configuration files automatically loaded by Struts t$%<eF@w
struts自动加载的一个配置文件列表 }^0'IAXi
%#rtNDi
struts.configuration.xml.reload 8'L:D
Whether to reload the XML configuration or not |!9xL*A
是否加载xml配置(true,false) bS2g4]$'po
{lH'T1^m
struts.continuations.package ?O+.
The package containing actions that use Rife continuations &6C]|13;
含有actions的完整连续的package名称 V8):!
2J{vfF
struts.custom.i18n.resources )c&ya|h
Location of additional localization properties files to load 6)ibXbH
加载附加的国际化属性文件(不包含.properties后缀) 6u #eLs
;}?ZH4.S
struts.custom.properties YPGzI]\
Location of additional configuration properties files to load W^h,O+vk
加载附加的配置文件的位置 fv#ov+B
A_\Jb}J1<
xGQP*nZ
struts.devMode W4&8
Whether Struts is in development mode or not [uHU[
sG
是否为struts开发模式 Z{BK@Q4z
~] V62^0
struts.dispatcher.parametersWorkaround }~|`h1JF
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _S7?c^:~
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @2L^?*n=
R;pW,]}g,
struts.enable.DynamicMethodInvocation 4K'U}W
Allows one to disable dynamic method invocation from the URL g_IcF><F
允许动态方法调用 .:f ao'
@wa"pWx8
struts.freemarker.manager.classname K=HLMDs
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .`m|Uf#"
_
org.apache.struts2.views.freemarker.FreemarkerManager接口名 =1,!EkG
ZP!.C&O
struts.i18n.encoding p0 X%^A,4
The encoding to use for localization messages zl6]N3+4
国际化信息内码
sZCK?
=WUL%MfW
struts.i18n.reload vR:#g;mnk
Whether the localization messages should automatically be reloaded D.:`]W|
是否国际化信息自动加载 s|H7;.3gp
Pe,k y>ow
struts.locale jvsSP?]n
The default locale for the Struts application Zs79,*o+0M
默认的国际化地区信息 ~dEo^vJD
-k7b#
+T
struts.mapper.class i_Q1\_m !
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Ycm .qud
?
org.apache.struts2.dispatcher.mapper.ActionMapper接口 "hI"4xSg
&WBpd}|+Y
struts.multipart.maxSize 2<5LQr
The maximize size of a multipart request (file upload) G gA:;f46
multipart请求信息的最大尺寸(文件上传用)
..E_M$}
9ybR+dGm+
struts.multipart.parser M j[+h|e
The org.apache.struts2.dispatcher.multipart. ;Us6:}s
MultiPartRequest parser implementation for a multipart request (file upload) "lu^
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Bo8f52|
Z(tJd,
0.wF2!V.
struts.multipart.saveDir D((/fT)eD
The directory to use for storing uploaded files 6Aqv*<1=62
设置存储上传文件的目录夹 -XL?n/M
SF*mY=1
struts.objectFactory KTT!P 4
The com.opensymphony.xwork2.ObjectFactory implementation class BM:p)%Pv#P
com.opensymphony.xwork2.ObjectFactory接口(spring) d*Su
c
/nA>ox78
struts.objectFactory.spring.autoWire AZhI~QWo
Whether Spring should autoWire or not {'A
15
是否自动绑定Spring yN{**?b
jZqa+nG51
struts.objectFactory.spring.useClassCache *\xRNgEQ
Whether Spring should use its class cache or not ]~dB|WB
是否spring应该使用自身的cache _ps4-<ugC
Zy3F%]V0
struts.objectTypeDeterminer 8aVQW_m}
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class :KvZP:T
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &$CyT6mb^
cJq{;~
struts.serve.static.browserCache 6x(b/`VW
If static content served by the Struts filter should set browser caching header properties or not NiVLx_<Pr'
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 X%-hTl
CPNV\qCY
struts.serve.static .O0eSp|e
Whether the Struts filter should serve static content or not j -o
是否struts过滤器应该提供静态内容 KYB3n85 1
eyDI>7W
struts.tag.altSyntax hr.mzQd
Whether to use the alterative syntax for the tags or not um]*nXIr
是否可以用替代的语法替代tags 1_LKqBgo
XS@iu,uO
struts.ui.templateDir ?:60lCqj
The directory containing UI templates ;WN%tI)
UI templates的目录夹 Ja*,ht(5
dfVI*5[Z
struts.ui.theme (
zm!_~1
The default UI template theme V4"o.G3\o
默认的UI template主题 8i`T?KB
YGChVROG~
struts.url.http.port
!vl1#@
The HTTP port used by Struts URLs %1;Y`>
设置http端口 [*)2Ou
4jZt0
struts.url.https.port u SZfim@Z7
The HTTPS port used by Struts URLs i`CNgScF>
设置https端口 N|>MqH,Bt
E.:eO??g
struts.url.includeParams w].DLoz
The default includeParams method to generate Struts URLs x?{l<mc
在url中产生 默认的includeParams lxXF8c>U
5C`Vno~v
H/x9w[\+[
struts.velocity.configfile C|FI4/-e
The Velocity configuration file path M-QQ
velocity配置文件路径 b9.7j!W
epk
C'
struts.velocity.contexts 8[^b8^
List of Velocity context names o%]b\Vl6
velocity的context列表 j
yp.2c
DP*V|)
r
H9}VA:h
struts.velocity.manager.classname T^|6{ S\
org.apache.struts2.views.velocity.VelocityManager implementation class 7[ kDc-
org.apache.struts2.views.velocity.VelocityManager接口名 C\C*@9=&x
0""%@X]m
struts.velocity.toolboxlocation 0\ j)!b
The location of the Velocity toolbox cru&nH*O^
velocity工具盒的位置 GF<SQHL,
struts.xslt.nocache w"Zws[pm]
Whether or not XSLT templates should not be cached yyVJb3n5:!
是否XSLT模版应该被缓存 {2g?+8L$Z