struts2的struts.properties配置文件详解 Q6xgLx[
#|q;t
struts.action.extension ,rXW`7!2
The URL extension to use to determine if the request is meant for a Struts action bu;vpNa
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]Px:d+wX:
XGL"gD
struts.configuration y^3,X_0
The org.apache.struts2.config.Configuration implementation class R4yJ.f
org.apache.struts2.config.Configuration接口名 -^0KE/
nMeS CX
struts.configuration.files I ;l`VtD
A list of configuration files automatically loaded by Struts >" i~ x
struts自动加载的一个配置文件列表 2AmR(vVa"
(Y&R0jt
struts.configuration.xml.reload }WoX9M; 1
Whether to reload the XML configuration or not 8`6
LMQ
是否加载xml配置(true,false) "1AjCHZ
:3:)E
struts.continuations.package %uF:)
The package containing actions that use Rife continuations ayHn_
含有actions的完整连续的package名称 N:5b1TdI,
WI%zr2T
struts.custom.i18n.resources V.+DP
Location of additional localization properties files to load rC=f#YjR
加载附加的国际化属性文件(不包含.properties后缀) -B",&yTV
XPrY`,kN
struts.custom.properties XNy:0C
Location of additional configuration properties files to load *%;6P5n%
加载附加的配置文件的位置 H#_}^cGPR=
MV7}
S".owe$\
struts.devMode 8}]l9"q(
Whether Struts is in development mode or not 3huzz<n3
是否为struts开发模式 +HYN$>
N <ja6Ac
struts.dispatcher.parametersWorkaround x[zKtX
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Id; mn}+~
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) RiwEuY
J*/$ywI
struts.enable.DynamicMethodInvocation ;I[.
Allows one to disable dynamic method invocation from the URL >I{4
允许动态方法调用 P^i6MZ?
l^)o'YS y
struts.freemarker.manager.classname HdDo
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class rAtai}Lx
org.apache.struts2.views.freemarker.FreemarkerManager接口名 w}fqs/)w
5B_-nYJDt
struts.i18n.encoding -(`K7T>D.
The encoding to use for localization messages +*WUH513
国际化信息内码 6f<*1YR
F
7m vSo350
struts.i18n.reload @w+WLeJ$40
Whether the localization messages should automatically be reloaded Z{Lmd`<w`j
是否国际化信息自动加载 /2=_B4E2
f'8B[&@L
struts.locale Aigcq38
The default locale for the Struts application \>&@lA
默认的国际化地区信息 }mkA Hmu4
q=(M!9cE
struts.mapper.class [J(@$Qix
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;2+FgOj
org.apache.struts2.dispatcher.mapper.ActionMapper接口 bgkbwE
?Yynd
struts.multipart.maxSize ZP]2/;h
The maximize size of a multipart request (file upload) 77Q4gw~2U
multipart请求信息的最大尺寸(文件上传用) .N'%hh
s:qxAUi\/
struts.multipart.parser x0N-[//YV
The org.apache.struts2.dispatcher.multipart. TPV6$a <
MultiPartRequest parser implementation for a multipart request (file upload) 11^ {WF
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) p7?CeyZ-V
k:&?$
>"2\D|-/
struts.multipart.saveDir S}XB
|
The directory to use for storing uploaded files Off: ~
设置存储上传文件的目录夹 E1mI Xd;.
BZnp
#}f
struts.objectFactory GFSlYG
The com.opensymphony.xwork2.ObjectFactory implementation class Jv '3](
com.opensymphony.xwork2.ObjectFactory接口(spring) Fj4l %=
oi%5t)VsS
struts.objectFactory.spring.autoWire 0%(4G83gw
Whether Spring should autoWire or not 81%qM7v9H
是否自动绑定Spring WHdqO8
+?J_6Mo@X
struts.objectFactory.spring.useClassCache , 4h!"c
Whether Spring should use its class cache or not #L).BM
是否spring应该使用自身的cache js%4;
FcJ.)U
struts.objectTypeDeterminer ,Yiq$Z{qQ
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class U>3%!83kF
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 9g<_JcN
,_e/a
struts.serve.static.browserCache J7&.>y1%
If static content served by the Struts filter should set browser caching header properties or not o{YW
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 !/=9VD{U!
=l?"=HF
struts.serve.static wd2P/y42;;
Whether the Struts filter should serve static content or not W? 6
是否struts过滤器应该提供静态内容 "OlI-^y
ys~p(
struts.tag.altSyntax 8Pnqmjjj
Whether to use the alterative syntax for the tags or not tOlzOBzR
是否可以用替代的语法替代tags umHs " d
<7sF<KD
struts.ui.templateDir |{}d5Z"5;}
The directory containing UI templates ||"":K
UI templates的目录夹 gn4g 43
,&O:/|c E
struts.ui.theme T^-H_|/M
The default UI template theme pX h^M{.
默认的UI template主题 2yQ;lQ`
:*w:eKk
struts.url.http.port `,8R~-GPD
The HTTP port used by Struts URLs i &SBW0)
设置http端口 2=Vkjh-
uV*f[l
struts.url.https.port xYzcV%-Pm
The HTTPS port used by Struts URLs t0AqGrn
设置https端口 $HR(|{piZ
(0+ GLI8
struts.url.includeParams OA8b_k~
The default includeParams method to generate Struts URLs F~uA-g
在url中产生 默认的includeParams %l]rQjV-
G+\~rl
!]jNVg
struts.velocity.configfile * zJiii
The Velocity configuration file path M%Kx{*aw&
velocity配置文件路径 'piF_5(@
Hhce:E@K
struts.velocity.contexts b$$L]$q2
List of Velocity context names 6r-<XNv)0
velocity的context列表 zxynEdO
xVwi
}jtG|
j{Qbzczy,
struts.velocity.manager.classname &&QDEDszp
org.apache.struts2.views.velocity.VelocityManager implementation class *M**h-p2'
org.apache.struts2.views.velocity.VelocityManager接口名 \VhpB
ah&plaVzC
struts.velocity.toolboxlocation "351s3ff
The location of the Velocity toolbox ]aMa*fF
velocity工具盒的位置 ~]t2?SqNm
struts.xslt.nocache yI)RGOV
Whether or not XSLT templates should not be cached (/rIodHJO
是否XSLT模版应该被缓存 3
v,ae7$U&