struts2的struts.properties配置文件详解 u_Zm1*'?B
A^vvST%7
struts.action.extension d#7]hF
The URL extension to use to determine if the request is meant for a Struts action <?4cWp|i
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [a+4gy
q\_DJ)qpn
struts.configuration 9<Ag1l
The org.apache.struts2.config.Configuration implementation class x_|>n<Z
org.apache.struts2.config.Configuration接口名 vnVZJ}]w\
5%'S
struts.configuration.files 9
P~d:'Ib
A list of configuration files automatically loaded by Struts N1s.3`
struts自动加载的一个配置文件列表 19w_tSg
PC0HH
struts.configuration.xml.reload LV\ieM
Whether to reload the XML configuration or not ~zj"OG"zOw
是否加载xml配置(true,false) d}VALjXHX!
26}u4W$
struts.continuations.package BDp:9yau
The package containing actions that use Rife continuations #AvEH=:
含有actions的完整连续的package名称 ^f6
{0
mCK],TOA:
struts.custom.i18n.resources 1V0sl0i4
Location of additional localization properties files to load WN1Jm:5YV
加载附加的国际化属性文件(不包含.properties后缀) YPG,9iZ&f
PJ0Jjoh"Y
struts.custom.properties ]qMH=>pOsj
Location of additional configuration properties files to load 1oB$u!6P
加载附加的配置文件的位置 unJiE!
L1rAT
(<
:mM
struts.devMode EZ*t$3.T
Whether Struts is in development mode or not I}rGx
是否为struts开发模式 f~U#z7
R~!\-6%_
struts.dispatcher.parametersWorkaround @OY1`EuO
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic XnPJC'
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \+G.]|" Y
qT"drgpi3
struts.enable.DynamicMethodInvocation "2%y~jrDN
Allows one to disable dynamic method invocation from the URL Oe/73|
>U
允许动态方法调用 U{HyxZ|q<
T\)dt?Tv#\
struts.freemarker.manager.classname %l%=Dkss
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class avmcGyL
org.apache.struts2.views.freemarker.FreemarkerManager接口名 F9v)R#u~
L,E-z_<p
struts.i18n.encoding ?U}sQ;c$
The encoding to use for localization messages GA(OK-WUd
国际化信息内码 %N7gT*B:
@;g`+:=
struts.i18n.reload r^fxyN2V
Whether the localization messages should automatically be reloaded l&\tf`~
是否国际化信息自动加载 0BT;"B1
! Zno[R
struts.locale >-UD]?>
The default locale for the Struts application IES41y<
默认的国际化地区信息 A>4l/
7zOhyl?
struts.mapper.class qw6EP C
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Ewa[Y=+tx
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Xs{/}wc.q;
Bjurmo
struts.multipart.maxSize |*lH9lWJ
The maximize size of a multipart request (file upload) "ugX
/r$_
multipart请求信息的最大尺寸(文件上传用) m}; ~JMo]
(r.$%[,.<
struts.multipart.parser s'R~r
The org.apache.struts2.dispatcher.multipart. >&*6Fqd
MultiPartRequest parser implementation for a multipart request (file upload) m]bL)]Z
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) z:dXc
2q2p=H>&
;5&k/CB1
struts.multipart.saveDir -fb1cv~N
The directory to use for storing uploaded files |U8>:DE l
设置存储上传文件的目录夹 #N<s^KYG-
Q3 K;kS
struts.objectFactory gn-=##fT:i
The com.opensymphony.xwork2.ObjectFactory implementation class \DG(
8l
com.opensymphony.xwork2.ObjectFactory接口(spring) 4U}.Skzq
{Bav$kw;?e
struts.objectFactory.spring.autoWire -0=}|$H.
Whether Spring should autoWire or not 6|B a
是否自动绑定Spring :6\-9m8JM
$K=K?BV[
struts.objectFactory.spring.useClassCache 9OrA9r
Whether Spring should use its class cache or not },?-$eyX
是否spring应该使用自身的cache @ef//G+Z"
F?yh23&_4
struts.objectTypeDeterminer `DU'wB
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class v*vub#wP
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ~$ cm9>
(.jO:#eE%
struts.serve.static.browserCache B`'}&6jr.
If static content served by the Struts filter should set browser caching header properties or not IqR[&T)lj
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 z/c'Z#w%
e8WPV
struts.serve.static r9p?@P\:[
Whether the Struts filter should serve static content or not `Gy>tD.#V-
是否struts过滤器应该提供静态内容 ;ph+ZV
*g/I&'^
struts.tag.altSyntax 0C4*F
Whether to use the alterative syntax for the tags or not B=o#LL
是否可以用替代的语法替代tags A;/Xt
!VJT"Ds_
struts.ui.templateDir bUipp\[aV
The directory containing UI templates V!yp@%D
UI templates的目录夹 3RTB~K8:{
il `C,CD
struts.ui.theme #U6/@l)
The default UI template theme r&j+; JM5
默认的UI template主题 Yp?a=R
&L[8Mju6
struts.url.http.port cSH tl<UY
The HTTP port used by Struts URLs 7@e[:>e
设置http端口 s525`Q;
T^f&58{ 7
struts.url.https.port q(${jz4w
The HTTPS port used by Struts URLs <try%p|f
设置https端口 +wPvQKVfI
Si%Eimiq
struts.url.includeParams v~W6yjp
The default includeParams method to generate Struts URLs f R{WS:Pv
在url中产生 默认的includeParams $7k04e@]
=-a?oH-
hE?GO,
struts.velocity.configfile KlSY^(kHR
The Velocity configuration file path _#\5]D~""
velocity配置文件路径 u.xA}yVS
S+E3;' H
struts.velocity.contexts [;kj,j
List of Velocity context names vr]dRStr
velocity的context列表 b^|,9en
L52z
m<VL19o>R
struts.velocity.manager.classname ~A{[=v
org.apache.struts2.views.velocity.VelocityManager implementation class @tU>~y{E
org.apache.struts2.views.velocity.VelocityManager接口名 E`Zh\u)
rO2PbF3
struts.velocity.toolboxlocation y5opdIaT
The location of the Velocity toolbox Bg
8t'dw?K
velocity工具盒的位置 Zq6ebj
struts.xslt.nocache $F==n4)
Whether or not XSLT templates should not be cached E<.{
v\
是否XSLT模版应该被缓存 u>-uRz<)t