struts2的struts.properties配置文件详解 D>9~JHB
7a_pO1MBL
struts.action.extension |;2Y|>=
The URL extension to use to determine if the request is meant for a Struts action $mvcqn;
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]]lgCac_U9
2Y_ `&
struts.configuration @xKLRw
The org.apache.struts2.config.Configuration implementation class OU;R;=/]
org.apache.struts2.config.Configuration接口名 >$,A [|R
&V7@ TZ
struts.configuration.files .'o<.\R8
A list of configuration files automatically loaded by Struts &V5[Zj|]
struts自动加载的一个配置文件列表 f}q4~NPn-
,]?Xf>
struts.configuration.xml.reload =[%ge{ ,t
Whether to reload the XML configuration or not :USN`"
是否加载xml配置(true,false) *Dr -{\9
3V:{_~~
struts.continuations.package 4 4bTx y
The package containing actions that use Rife continuations j.Ro(0%
含有actions的完整连续的package名称 %VG;vW\V
d (Ufj|;
struts.custom.i18n.resources Y 1a[HF^-
Location of additional localization properties files to load ,bT|:T@ny
加载附加的国际化属性文件(不包含.properties后缀) M,]C(f>
nU]n]gd
struts.custom.properties B6)d2O9C
Location of additional configuration properties files to load DQ7+
加载附加的配置文件的位置 =}N&c4I[j
Gt4| ]
fE"Q:K6r2
struts.devMode N9LBji;nH
Whether Struts is in development mode or not j-wSsjLk
是否为struts开发模式 ^'EeJN
,"?h_NbF
struts.dispatcher.parametersWorkaround ?>b>LDpx?
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ed[ tmaEuV
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Q!DH8'|4?L
rU?sUm,ch
struts.enable.DynamicMethodInvocation g_lj/u]P
Allows one to disable dynamic method invocation from the URL "?Dov/+Q.
允许动态方法调用 .kpL?_
l` 9<mL
struts.freemarker.manager.classname SS?^-BI
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class VW^6qf/,
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ConXP\M-
y,{=*2Yt
struts.i18n.encoding ]v=*WK
The encoding to use for localization messages X._skq
国际化信息内码 0$)CWah
2e_ssBbb
struts.i18n.reload WP)r5;Hv`
Whether the localization messages should automatically be reloaded DBDHe-1[+
是否国际化信息自动加载 &YQ
40TS=evG
struts.locale Pw`26mB
The default locale for the Struts application O@;;GJ
默认的国际化地区信息 ,ra!O=d~0
Sa5+_TW
struts.mapper.class 4yhan/zA
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^LfN6{
org.apache.struts2.dispatcher.mapper.ActionMapper接口 O~t]:p9_
4]L5%=atn
struts.multipart.maxSize N@D]Q&;+(T
The maximize size of a multipart request (file upload) d-e6hI4b
multipart请求信息的最大尺寸(文件上传用) b-pZrnZ!
'6l4MR$j&m
struts.multipart.parser R=uzm=&nR
The org.apache.struts2.dispatcher.multipart. $4K(AEt[
MultiPartRequest parser implementation for a multipart request (file upload) /Qh
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) C9^[A4O@X!
b~;gj^
[RtTi<F^
struts.multipart.saveDir h2kba6rwk
The directory to use for storing uploaded files ovv<7`
设置存储上传文件的目录夹 hLYy
9>gxJ7pY
struts.objectFactory #CKPNk
c
The com.opensymphony.xwork2.ObjectFactory implementation class qYD$_a
com.opensymphony.xwork2.ObjectFactory接口(spring) }Ruj h4*
z~[:@mGl
struts.objectFactory.spring.autoWire y V=Ku
Whether Spring should autoWire or not e>yPFXSk
是否自动绑定Spring 5,/rh,?
3m
RP.<=
struts.objectFactory.spring.useClassCache I'pOB
Whether Spring should use its class cache or not 7.7aHt0
是否spring应该使用自身的cache ~>C@n'\lv
VyQ@. Lm
struts.objectTypeDeterminer H CKD0xx
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ;Du+C%
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ? yL3XB>
T(LqR?xOo
struts.serve.static.browserCache 0p6
If static content served by the Struts filter should set browser caching header properties or not t%@sz
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 a=(D`lQ8
,;3#}OGg
struts.serve.static }yQ&[Mt
Whether the Struts filter should serve static content or not P2y`d9,Q
是否struts过滤器应该提供静态内容 Yj%hgb:)
DK' ? '
struts.tag.altSyntax ?:@13wm
Whether to use the alterative syntax for the tags or not |wF_CZ*1
是否可以用替代的语法替代tags q-7C7q
P2HR4`c
struts.ui.templateDir ;U7o)A;
The directory containing UI templates 9a\H+Y~
UI templates的目录夹 Ziclw)
Swugt"`nN
struts.ui.theme f
uzz3#
The default UI template theme m]C|8b7Y
默认的UI template主题 OIi8x?
.~]
bv %Bo4s
struts.url.http.port X`/3X}<$7
The HTTP port used by Struts URLs [bE-Uu7q5P
设置http端口 ;#'YO1`gf3
L`sg60z
struts.url.https.port #cHH<09rl
The HTTPS port used by Struts URLs 9o)sSaTx=
设置https端口 @Z0?1+k
Q7<%_a
struts.url.includeParams ;E,^bt<U
The default includeParams method to generate Struts URLs G$#Q:]N
在url中产生 默认的includeParams 2xPkQOj3
_=%F6}TE
Eb
8vnB#
struts.velocity.configfile s
&4k
The Velocity configuration file path ?=
G+L0t
velocity配置文件路径 ie<zc+*rW
tX'`4!{@+
struts.velocity.contexts a1^CpeG~
List of Velocity context names 4XL$I*;4
velocity的context列表 zL8Z8eh">
G
=`-w
k2bjBAT
struts.velocity.manager.classname O|Sbe%[*wW
org.apache.struts2.views.velocity.VelocityManager implementation class KGM9
b
org.apache.struts2.views.velocity.VelocityManager接口名 VT>TmfN(I
+0,'B5 (E
struts.velocity.toolboxlocation UCu0Xqf
The location of the Velocity toolbox '3%J hG)#
velocity工具盒的位置 8'K~+L=}
struts.xslt.nocache u^6@!M
Whether or not XSLT templates should not be cached Q#k Sp8
是否XSLT模版应该被缓存 }j+Af["W?