struts2的struts.properties配置文件详解 ARL
mVm4fHEYwU
struts.action.extension Rt=
X%[YL
The URL extension to use to determine if the request is meant for a Struts action K5ZnS`c;
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 cfoYnM
B}*V%}:)
struts.configuration -G ?%QG`v
The org.apache.struts2.config.Configuration implementation class w;yx<1f
org.apache.struts2.config.Configuration接口名 RTd^ImV
IG.f=+<0
struts.configuration.files 6 ,N6jaW
A list of configuration files automatically loaded by Struts M%=P)cC
struts自动加载的一个配置文件列表 p/|(,)'+jx
3n(*E_n
struts.configuration.xml.reload t]m!ee8*X<
Whether to reload the XML configuration or not 02 f9 w V
是否加载xml配置(true,false) T$b\Q
D6=HYqdj
struts.continuations.package
<jd/t19DB
The package containing actions that use Rife continuations hWGZd~L
含有actions的完整连续的package名称 gOE_
]
{y );vHf$
struts.custom.i18n.resources rveVCTbC
Location of additional localization properties files to load fwmLJ5o
N
加载附加的国际化属性文件(不包含.properties后缀) 9[>Lp9l'
Xt(!
a
struts.custom.properties e)pTC97^L
Location of additional configuration properties files to load Hc!!tbBQ
加载附加的配置文件的位置 V;*pL1
lL2-.!]R
l]vohLz
3!
struts.devMode B!q?_[k,
Whether Struts is in development mode or not `
py}99G
是否为struts开发模式 a%[q
|oyR
)|T`17-
struts.dispatcher.parametersWorkaround p~>_T7ze
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {'(ej5,6
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) DJ:38_ F
:Kay$r0+
struts.enable.DynamicMethodInvocation _O52ai><b
Allows one to disable dynamic method invocation from the URL ec?1c&E
允许动态方法调用 Ve:&'~F2 s
|(%AM*n
struts.freemarker.manager.classname Z% Z"VoxH
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ggCr-
org.apache.struts2.views.freemarker.FreemarkerManager接口名 7jezw'\=~
'jbMTI
struts.i18n.encoding 4 ?2g&B\
The encoding to use for localization messages n2na9dX)w
国际化信息内码 [a D:A
xT+
;w[s
struts.i18n.reload OPJgIU%
Whether the localization messages should automatically be reloaded C5B=NAc
是否国际化信息自动加载 Dh8(HiXf:
8on[%Vk
struts.locale JFJIls
The default locale for the Struts application oQBiPN+v.3
默认的国际化地区信息 ^fZGX<fH
D5[VK`4Z
struts.mapper.class n` #+L~X
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class G"f du(.@
org.apache.struts2.dispatcher.mapper.ActionMapper接口 W%zmD Hk~
qj;l,Kua
struts.multipart.maxSize fB[\("+
The maximize size of a multipart request (file upload) 1HXlHic
multipart请求信息的最大尺寸(文件上传用) :xN8R^(
;Bnr='[
struts.multipart.parser [#zE.
TW
The org.apache.struts2.dispatcher.multipart. b60[({A\s&
MultiPartRequest parser implementation for a multipart request (file upload) b#}t:yy
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?k
w/S4
bQ=s8'
0Ts!(b]B
struts.multipart.saveDir T"A^[r*
The directory to use for storing uploaded files t!l/` e%J
设置存储上传文件的目录夹 wjg}[R@!
${0%tCE
struts.objectFactory d.b?!kn
The com.opensymphony.xwork2.ObjectFactory implementation class 6o9sR)c
?
com.opensymphony.xwork2.ObjectFactory接口(spring) XL?Aw
$OT}`Te~
struts.objectFactory.spring.autoWire E.4n}s
Whether Spring should autoWire or not o>$|SU!a
是否自动绑定Spring aC}vJ93i
V[To,f
struts.objectFactory.spring.useClassCache ylT6h_z1[Y
Whether Spring should use its class cache or not I4CHfs"ar
是否spring应该使用自身的cache w2KWa-BO
:MdEr//w
struts.objectTypeDeterminer ax;{MfsK
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class T!&jFy*W
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ->Q`'@'|P
)MMhlcNC
struts.serve.static.browserCache <Q\H
If static content served by the Struts filter should set browser caching header properties or not Wu]/(F
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 a]{uZGn@i
\/X{n*Hw?
struts.serve.static `J]<_0kX}%
Whether the Struts filter should serve static content or not Q;Q
是否struts过滤器应该提供静态内容 3[iSF5%V*p
o9~h%&
struts.tag.altSyntax `6n!$Cxo
Whether to use the alterative syntax for the tags or not qYDj*wqf
是否可以用替代的语法替代tags PGMv(}%;
% Mw' e/?
struts.ui.templateDir <?nB,U
The directory containing UI templates +i_'gDy$
UI templates的目录夹 T^+1rG
giQ{Xrj
struts.ui.theme h<Jc;ht
The default UI template theme EI%M
Azj}
默认的UI template主题 = ]WW'~
@-}D7?
struts.url.http.port QR|XV%$
The HTTP port used by Struts URLs A4}JZi6@
设置http端口 p"g1V7B
D8q3TyCj%
struts.url.https.port Rd .U;>
The HTTPS port used by Struts URLs J.*[gt%O|
设置https端口 )A"ZV[eOoQ
XX*'N+
struts.url.includeParams <[/PyNYK
The default includeParams method to generate Struts URLs ^!$}
BY
在url中产生 默认的includeParams A8#.1uEgNb
/0Rt +`
(QA-"9v#i,
struts.velocity.configfile .jLMl*6%:
The Velocity configuration file path &S9f#Ui
velocity配置文件路径 0zlM.rjEZ
r.Y*{!t
struts.velocity.contexts T$#FAEz
List of Velocity context names rsd2v9
velocity的context列表 M-}j9,oR`
7W6eiUI'
`4$4bXrP'
struts.velocity.manager.classname HKq2Js
org.apache.struts2.views.velocity.VelocityManager implementation class 4!NfQk>X
org.apache.struts2.views.velocity.VelocityManager接口名 Y]D7i?3N
3D]2$a_d
struts.velocity.toolboxlocation Mp]yKl
The location of the Velocity toolbox 4jDs0Hn"
velocity工具盒的位置 uWJ#+XK.
struts.xslt.nocache N8Rm})
Whether or not XSLT templates should not be cached deR$
是否XSLT模版应该被缓存 L$oia)%t-