struts2的struts.properties配置文件详解 \]U@=w
" -4V48ci
struts.action.extension 66?!"w
The URL extension to use to determine if the request is meant for a Struts action mAFqA
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,uD F#xjl,
0KyujU?sF
struts.configuration A/N$
The org.apache.struts2.config.Configuration implementation class I)E+
org.apache.struts2.config.Configuration接口名 /(w:XTO<
2sjP":
struts.configuration.files 8x
jJ
A list of configuration files automatically loaded by Struts BYEqTwhT&
struts自动加载的一个配置文件列表 w0Fi~:b
\`#;J?Y|`F
struts.configuration.xml.reload ,epKt(vl
Whether to reload the XML configuration or not {}?s0U$5
是否加载xml配置(true,false) Q/6T?{\U7
FDaHsiI:
struts.continuations.package C+Wb_
The package containing actions that use Rife continuations "aN<3b
含有actions的完整连续的package名称 GdavCwJ
jK#y7E
struts.custom.i18n.resources )^uLZMNaI
Location of additional localization properties files to load $jb 0/
加载附加的国际化属性文件(不包含.properties后缀) N:!XtYA<
Hw5\~!FX
struts.custom.properties 0}q ij
Location of additional configuration properties files to load />XfK,c-
加载附加的配置文件的位置 "_ b
Sy
PNXZ 3:W
*$x/(!UE
struts.devMode >\K<q>*
Whether Struts is in development mode or not /d5_-AB(v
是否为struts开发模式 !Y-MUZ$f
kwdmw_
struts.dispatcher.parametersWorkaround ^ 3LM%B
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic h)q:nlKUW
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) PG9won5_
!%NxSJ
struts.enable.DynamicMethodInvocation =1lKcA[z
Allows one to disable dynamic method invocation from the URL g/so3F%v
.
允许动态方法调用 D5)qmu
9U6y<X
struts.freemarker.manager.classname ;h_"5/#
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class mSAuS)YD
org.apache.struts2.views.freemarker.FreemarkerManager接口名 8Uvf9,I'
,JT|E~P?8
struts.i18n.encoding MC/$:PV
The encoding to use for localization messages sMli! u
国际化信息内码 EuqmA7s8A
~)D2U:"^xm
struts.i18n.reload C81+nR
Whether the localization messages should automatically be reloaded kf0zL3|
是否国际化信息自动加载 VG+Yhm<SL
B8 -/C\
struts.locale ;u,%an<(
The default locale for the Struts application |hehROUn
默认的国际化地区信息 "OFYVK\]i
5Ga>qIM
struts.mapper.class ^LTLyt)/
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class SY["(vP%#
org.apache.struts2.dispatcher.mapper.ActionMapper接口 kmM_Af&
+H_Jr'/
struts.multipart.maxSize 6}IOUWLB@
The maximize size of a multipart request (file upload) 8iD_md_[
multipart请求信息的最大尺寸(文件上传用) kjN9(&D
nG$*[7<0u
struts.multipart.parser *(L4rK\2
The org.apache.struts2.dispatcher.multipart. 9x&,`95O
MultiPartRequest parser implementation for a multipart request (file upload) z7MJxjH
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4r-jpVN~
jt
tlzCDn
<8!mmOK1
struts.multipart.saveDir e>1^i;f
The directory to use for storing uploaded files oScHmGFv
设置存储上传文件的目录夹 Jd&Qi)1
P
/wc9Yt
struts.objectFactory A) p}AEBc
The com.opensymphony.xwork2.ObjectFactory implementation class \,[Qg#W$u
com.opensymphony.xwork2.ObjectFactory接口(spring) ~.AUy%$_g+
1[J&^@t[h6
struts.objectFactory.spring.autoWire TF|GGYi
Whether Spring should autoWire or not )rz4IfE
是否自动绑定Spring { LJwW*?
6<NaME
struts.objectFactory.spring.useClassCache 29u"\f a
Whether Spring should use its class cache or not $WnK
是否spring应该使用自身的cache #@Zz
Bf
ag14omM-
struts.objectTypeDeterminer G?e,Q$
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class q+dY&4&u
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6,uW{l8L
s[h'W~
struts.serve.static.browserCache -n!.PsGO>
If static content served by the Struts filter should set browser caching header properties or not }0?642 =-
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +KDB^{
I5Foh|)
struts.serve.static h(] O;a-
Whether the Struts filter should serve static content or not d4[M{LSl
是否struts过滤器应该提供静态内容 0Apdhwk~
@pY AqX2
struts.tag.altSyntax )#T(2A
Whether to use the alterative syntax for the tags or not :74^?
是否可以用替代的语法替代tags (E&}SI~
'\l(.N
struts.ui.templateDir k5xzC&
The directory containing UI templates N+b"LZc
UI templates的目录夹 :doP66["!
sBu=@8R]y
struts.ui.theme =iRc&
The default UI template theme X82sw>Y
默认的UI template主题 DuZ51[3_L
0+;.T1?
struts.url.http.port /81Ux@,(e
The HTTP port used by Struts URLs `9s5 *;Z
设置http端口 B y6:
9HRYk13ae
struts.url.https.port J@H9nw+Q
The HTTPS port used by Struts URLs D._q'v<
设置https端口 9X@y*;w<t
zbx,qctYo$
struts.url.includeParams Yj/S(4(h?
The default includeParams method to generate Struts URLs #_QvnQ?I
在url中产生 默认的includeParams engql;
WHvN6
]$4 k+)6
struts.velocity.configfile ~ra2Xyl
The Velocity configuration file path +~ :1H.
velocity配置文件路径 b,~4O~z
ToCB*GlL
struts.velocity.contexts wP6~HiC
List of Velocity context names O%tlj@?
velocity的context列表 jWiB_8-6
=JOupw
IcoK22/
struts.velocity.manager.classname {w(6Tc
org.apache.struts2.views.velocity.VelocityManager implementation class CP |N2rb
org.apache.struts2.views.velocity.VelocityManager接口名 "\vEi
&C
5sM-E>8G^{
struts.velocity.toolboxlocation ' ,a'r.HJH
The location of the Velocity toolbox Od^y&$|_%`
velocity工具盒的位置 SBAq,F'
struts.xslt.nocache V~&P<=8;Wl
Whether or not XSLT templates should not be cached hh{4r} |
是否XSLT模版应该被缓存 G! zV=p