struts2的struts.properties配置文件详解 V]Sgx00;
sr\cVv")
struts.action.extension 5\WUoSgy
The URL extension to use to determine if the request is meant for a Struts action =tq1ogE
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 j(sLK
&
mKM,kY
struts.configuration {t&*>ma6)
The org.apache.struts2.config.Configuration implementation class YNI;h%w
org.apache.struts2.config.Configuration接口名 IAYACmlN&
VrVDm*AGQ
struts.configuration.files "9w}dQ
A list of configuration files automatically loaded by Struts 8yn4}`Nc@
struts自动加载的一个配置文件列表 6F(hY !}5
n,CD
struts.configuration.xml.reload t ^m~
Whether to reload the XML configuration or not ^+wk
是否加载xml配置(true,false) Y~}5axSPH
(Izf
L1
struts.continuations.package /HZv
The package containing actions that use Rife continuations ~T%Ui#Gc
含有actions的完整连续的package名称 5Dd:r{{ Q
)9B:Y;>)
struts.custom.i18n.resources zd.'*Dj
Location of additional localization properties files to load "kU]
加载附加的国际化属性文件(不包含.properties后缀) o,1Dqg4P3
/D'M 24
struts.custom.properties z6I% wh
Location of additional configuration properties files to load FIS "Z(
加载附加的配置文件的位置 *GJ:+U&m[
RJhK$\
q(H ip<6p
struts.devMode
]ENK8bW
Whether Struts is in development mode or not a.q;_5\5`
是否为struts开发模式 x#r<,uNn,
nR[^|CAR
struts.dispatcher.parametersWorkaround cI:-Z{M7z
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic
m*dNrG
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) oQ\&}@(V
k"0;D-lTZ>
struts.enable.DynamicMethodInvocation A?A9`w
Allows one to disable dynamic method invocation from the URL 8vSIf+
允许动态方法调用 hF>u)%J/S
@PX\{6&
struts.freemarker.manager.classname 2"X~ju
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class id?E)Jy
org.apache.struts2.views.freemarker.FreemarkerManager接口名 OhFW*v
"(f`U.
struts.i18n.encoding 8{
gXToK
The encoding to use for localization messages psUE!~9,
国际化信息内码 nZ
E )_
%j5ywr:
struts.i18n.reload mp1ttGUtM
Whether the localization messages should automatically be reloaded QIK
9
是否国际化信息自动加载 `N'V#)Pi
(` c
G
struts.locale :h*a
rT4{
The default locale for the Struts application Jzex]_:1~
默认的国际化地区信息 w7
*V^B
.3X Y&6
struts.mapper.class A
gWPa.'3
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class +qy6d7^
org.apache.struts2.dispatcher.mapper.ActionMapper接口 U\vY/6;JI
g`[$XiR
struts.multipart.maxSize IPtvuEju\
The maximize size of a multipart request (file upload) >{nH v)
multipart请求信息的最大尺寸(文件上传用) rt}^4IqL
*yez:qnx
struts.multipart.parser dYF=c
The org.apache.struts2.dispatcher.multipart. Zh'&-c_J
MultiPartRequest parser implementation for a multipart request (file upload) d1G8*YO@
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) H
M:r0_
T1bd:mC}n
kO_5|6
struts.multipart.saveDir Ll}yJ#3,
The directory to use for storing uploaded files K 1W].(-@4
设置存储上传文件的目录夹 !20XsO
Bp_wnd
struts.objectFactory ?obm7<
The com.opensymphony.xwork2.ObjectFactory implementation class G5Yk bw#
com.opensymphony.xwork2.ObjectFactory接口(spring) ;;#`#v
_A'{la~k
struts.objectFactory.spring.autoWire {/ 2E*|W~I
Whether Spring should autoWire or not tC)6
是否自动绑定Spring L0"~[zB]N
(CE7j<j
struts.objectFactory.spring.useClassCache MKg,!TELe
Whether Spring should use its class cache or not t'(1I|7
是否spring应该使用自身的cache {x@|VuL=
@Rq}nq=k
struts.objectTypeDeterminer ]?K.
S6
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Z^ar.boc
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |.U)ll(c
q.V-LXM
struts.serve.static.browserCache {y-^~Q"z
If static content served by the Struts filter should set browser caching header properties or not rRb+_]Lg
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 eUBrzoCO
,D=fFpn
struts.serve.static VR0=SE
Whether the Struts filter should serve static content or not 1cC1*c0Z
是否struts过滤器应该提供静态内容 )^x K
vhgLcrn
struts.tag.altSyntax |yY`s6Uq
Whether to use the alterative syntax for the tags or not NNkP\oh\
是否可以用替代的语法替代tags -x*2t;%z{U
,o#kRWRG
struts.ui.templateDir |i7a@'0)
The directory containing UI templates ))T>jh
UI templates的目录夹 .\:J~(
$xgBKD
struts.ui.theme 2A:,;~UH
The default UI template theme wCKj7y[
默认的UI template主题 {/8Q)2*>0
Da1aI]{I
struts.url.http.port I'!/[\_
The HTTP port used by Struts URLs i$^ZTb^
设置http端口 (<c7<_-H
p,W_'?,9
struts.url.https.port <48<86TP
The HTTPS port used by Struts URLs \}"m'(\c
设置https端口 >U!*y4
5M_Wj*a}7
struts.url.includeParams l=m(mf?QBg
The default includeParams method to generate Struts URLs rf
K8q'@
在url中产生 默认的includeParams Ol/N}M|3
n"D ?I
xge7r3i
struts.velocity.configfile #JW+~FU`
The Velocity configuration file path 9pSUIl9|j
velocity配置文件路径 3iX?~
|U'I/A
struts.velocity.contexts svhI3"r
List of Velocity context names kxB.,'
velocity的context列表 Y%aWK~O
rZ03x\2
-ysn&d\rV
struts.velocity.manager.classname 7jG(<!,
org.apache.struts2.views.velocity.VelocityManager implementation class XNH4vG
|
org.apache.struts2.views.velocity.VelocityManager接口名 NL"G2[e
)A8v];.]3
struts.velocity.toolboxlocation $jzFc!rs
The location of the Velocity toolbox hZ$t$3
velocity工具盒的位置 A[N{
struts.xslt.nocache 0 p uY"[c
Whether or not XSLT templates should not be cached j<yiNHC
是否XSLT模版应该被缓存 P 7D!6q