struts2的struts.properties配置文件详解 ad52a3deR
@}uo:b:Q
struts.action.extension ywB0
D`s'
The URL extension to use to determine if the request is meant for a Struts action h 0)oQrY
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 NRk^Z)
O;T)u4Q&3
struts.configuration %eGD1.R
The org.apache.struts2.config.Configuration implementation class M'oQ<,yW-
org.apache.struts2.config.Configuration接口名 Xn5LrLM&
c{39,oF
struts.configuration.files j 20mZ
A list of configuration files automatically loaded by Struts )q/brCq
struts自动加载的一个配置文件列表 xK4E+^ b
|CK/-UG}
struts.configuration.xml.reload )Y"t$Iw"
Whether to reload the XML configuration or not `6LVXDR
是否加载xml配置(true,false) 3$BO=hI/-
jS5K:yx<
struts.continuations.package 7|Iq4@IT
The package containing actions that use Rife continuations z6h/C{
含有actions的完整连续的package名称 ]BTISaL-R
u'gsIuRJ
struts.custom.i18n.resources Q5IN1
^=HF
Location of additional localization properties files to load QUF1_Sa
加载附加的国际化属性文件(不包含.properties后缀) " LhXR
0UGAc]!/RZ
struts.custom.properties 238z'I+$G/
Location of additional configuration properties files to load 8^R~qpg%
加载附加的配置文件的位置 KqNsCT+j
f917F.1I
k9c`[M
struts.devMode Xob(4
Whether Struts is in development mode or not D2io3Lo$ov
是否为struts开发模式 }/g1
v[a4d&P
struts.dispatcher.parametersWorkaround ZB5NTNf>
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic GB>T3l"
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) akwS;|SZ
h(^[WSa
struts.enable.DynamicMethodInvocation w"A>mEex<
Allows one to disable dynamic method invocation from the URL "c![s%
允许动态方法调用 9Z3Vf[n5\
eO{2rV45O
struts.freemarker.manager.classname WckWX]};S
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5 L-6@@/
org.apache.struts2.views.freemarker.FreemarkerManager接口名 zCu+Oi6
eEeK ]8@
struts.i18n.encoding gV'=uz v
The encoding to use for localization messages -NDB.~E^DJ
国际化信息内码 %*Yb
J_j7
tcI Z
2H%
struts.i18n.reload t~Ic{%bdA
Whether the localization messages should automatically be reloaded uiWo<}t}{
是否国际化信息自动加载 I#W J";kqB
VY0-18 o
struts.locale -or)NE
The default locale for the Struts application '47E8PIJ|
默认的国际化地区信息 gpCWXz')i
&@qB6!^
struts.mapper.class V~t;
J
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class cQ0+kX<
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Tcq@Q$H
SWNT}{x]
struts.multipart.maxSize ZZ>(o
d!B
The maximize size of a multipart request (file upload) YCyh+%Q(
multipart请求信息的最大尺寸(文件上传用) nNRc@9Lt
2V$YZSw6q
struts.multipart.parser WTZuf9:
The org.apache.struts2.dispatcher.multipart. @X_)%Y-^O
MultiPartRequest parser implementation for a multipart request (file upload) e^hI[LbNC
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) I3Ad+]v
p
>nKNd_aQ
\r&(l1R
struts.multipart.saveDir 'tVe#oI
The directory to use for storing uploaded files Wa%p+(\<uB
设置存储上传文件的目录夹 X C'|
GEki34
n0
struts.objectFactory i\RB KF
The com.opensymphony.xwork2.ObjectFactory implementation class Ul:M=8nE%
com.opensymphony.xwork2.ObjectFactory接口(spring) Gk|T1%
#jw%0H;l]
struts.objectFactory.spring.autoWire quFNPdP
Whether Spring should autoWire or not q]y{
4"=5
是否自动绑定Spring SqoO"(1x
eW[](lGWM
struts.objectFactory.spring.useClassCache )U{IQE;T#
Whether Spring should use its class cache or not AQ,%5MeqJ
是否spring应该使用自身的cache w X.]O!^X~
`V?NS,@$
struts.objectTypeDeterminer &=lhKt
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =8DS~J{
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Oq95zo
!Eb!y`jK
struts.serve.static.browserCache ul\FZT 4
If static content served by the Struts filter should set browser caching header properties or not $u,`bX
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 F4g3l
~JOC8dO
struts.serve.static 8`q"] BQN
Whether the Struts filter should serve static content or not '^.3}N{Fo
是否struts过滤器应该提供静态内容 0Rh*SoYrC
z@xkE ,j>
struts.tag.altSyntax u"kB`||(
Whether to use the alterative syntax for the tags or not i6E~]&~.v
是否可以用替代的语法替代tags
;.~D!
[Y6ZcO/-i
struts.ui.templateDir =%+xNOdN7?
The directory containing UI templates L#/<y{
UI templates的目录夹 ,*;g+[Bhpl
~&+8m=
struts.ui.theme 44UN*_qG
The default UI template theme _(KzjOMt
默认的UI template主题 ;oRgg'k<
ABhQ7
x|
struts.url.http.port ,L8(Vo`-
The HTTP port used by Struts URLs Ewo6Q){X
设置http端口 vH]2t.\
[uu<aRAg3O
struts.url.https.port zB+zw\ncN
The HTTPS port used by Struts URLs alZ83^YN'
设置https端口 YU1z\pK
f7 zGz
struts.url.includeParams kfy|3KA3m
The default includeParams method to generate Struts URLs 5K$d4KT
在url中产生 默认的includeParams sH Hu<[psM
vNAQ/Q
MNKY J
struts.velocity.configfile Qr[".>+
The Velocity configuration file path R"e53 3
velocity配置文件路径 ;x4yidb6
Njs'v;-K
struts.velocity.contexts 4zf(
List of Velocity context names n*N`].r#{=
velocity的context列表 \p J<@
6am<V]Hw0F
2B]mD-~
struts.velocity.manager.classname ]U5/!e
org.apache.struts2.views.velocity.VelocityManager implementation class 4J2C#Cs
org.apache.struts2.views.velocity.VelocityManager接口名 O4,?C)
NQ\<~a`Eq
struts.velocity.toolboxlocation :z+l=d:4
The location of the Velocity toolbox f >\~h,SLL
velocity工具盒的位置 (EOYJHZB!
struts.xslt.nocache Gv6#LcF#
Whether or not XSLT templates should not be cached k)S'@>n{u
是否XSLT模版应该被缓存 _(:bGI'.m