struts2的struts.properties配置文件详解
**0~K" ;\
\K{
z
struts.action.extension ]c*4J\s
The URL extension to use to determine if the request is meant for a Struts action qZh/IW
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =*.~BG
C=xa5Y
struts.configuration P; no?
The org.apache.struts2.config.Configuration implementation class ,Vax&n+J
org.apache.struts2.config.Configuration接口名 }#+^{P3 ;
rHI{aO7
struts.configuration.files I,DS@SK
A list of configuration files automatically loaded by Struts QL/(72K
struts自动加载的一个配置文件列表 jd"@t*ZV
cZ*@$%_
struts.configuration.xml.reload U>SShpmZA
Whether to reload the XML configuration or not T Z@]:e:"b
是否加载xml配置(true,false) Pm?KI<TH~
(E3b\lST
struts.continuations.package `[yKFa
I
The package containing actions that use Rife continuations #z%fx
含有actions的完整连续的package名称 est9M*Fn
Kw^ 7>\
struts.custom.i18n.resources
8W7J3{d
Location of additional localization properties files to load I][*j
加载附加的国际化属性文件(不包含.properties后缀) Lb-OsKU
Ee#q9Cx^J
struts.custom.properties ?UR0:f:}oc
Location of additional configuration properties files to load }v{LRRi
加载附加的配置文件的位置 $wa{~'
7EEl+;wK
LOYk9m
struts.devMode G!##X: 6'
Whether Struts is in development mode or not C.P*#_R
是否为struts开发模式 VQ@
e%M;?0j
struts.dispatcher.parametersWorkaround Y|qTyE%
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {S\{Ii6
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?z+eWL
3,w_".m`#
struts.enable.DynamicMethodInvocation j;r-NCBnz
Allows one to disable dynamic method invocation from the URL {Xy5pfW
Q
允许动态方法调用 >'$Mp <
Y@iS_lR
struts.freemarker.manager.classname .Hm>i
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >:!5*E5?
org.apache.struts2.views.freemarker.FreemarkerManager接口名 /nsX]V6i
pki%vRY
struts.i18n.encoding r5/0u(\LB
The encoding to use for localization messages FV!q!D
国际化信息内码 T::85
\@zHON(
struts.i18n.reload gJ{)-\
Whether the localization messages should automatically be reloaded Fo_sgv8O<
是否国际化信息自动加载 Ax@$+/Z!
~~P5k:
struts.locale kTB0b*V
The default locale for the Struts application Zx@a/jLO[n
默认的国际化地区信息 'LC1(V!_j
uW{l(}0N
struts.mapper.class .<FH>NW)
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class sP~<*U.7
org.apache.struts2.dispatcher.mapper.ActionMapper接口 j$:~Rek
00y!K
m_D
struts.multipart.maxSize w9imKVry
The maximize size of a multipart request (file upload) *^4"5X@
multipart请求信息的最大尺寸(文件上传用) 33q}CzK
^
@5QP$.
struts.multipart.parser V!=,0zy~Z
The org.apache.struts2.dispatcher.multipart. q;CiV
MultiPartRequest parser implementation for a multipart request (file upload) A)!*]o>U
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) x,-75
ioCsV
/ SB;Von
struts.multipart.saveDir jr."I+
The directory to use for storing uploaded files G` A4|+W"
设置存储上传文件的目录夹 zw[m9N5\h
EVSX.'&f
struts.objectFactory tk`v:t!6U
The com.opensymphony.xwork2.ObjectFactory implementation class 8nJpp
com.opensymphony.xwork2.ObjectFactory接口(spring) dn3y\
m(!FHPvN
struts.objectFactory.spring.autoWire Fxz"DZY6
Whether Spring should autoWire or not xp{tw$
是否自动绑定Spring ~
7s!VR
q9_OGd|P
struts.objectFactory.spring.useClassCache "8MF_Gu):
Whether Spring should use its class cache or not o.!Dq7R
是否spring应该使用自身的cache M }D}K\)
2ilQXy
struts.objectTypeDeterminer vE?G7%,
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class aFYIM`?(
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 oc`H}Wvn
F41=b4/
struts.serve.static.browserCache 3 0H?KAV
If static content served by the Struts filter should set browser caching header properties or not ,"ZMRq
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 oPM96
(
T5h
H
struts.serve.static bd-L`={j
Whether the Struts filter should serve static content or not 7NGxa6wi
是否struts过滤器应该提供静态内容 `;C V=,M
5;EvNu
struts.tag.altSyntax ,O(hMI85]
Whether to use the alterative syntax for the tags or not TeM|:o
是否可以用替代的语法替代tags QWYJ*
m_]Y{3C
struts.ui.templateDir Xv^qVn4
The directory containing UI templates Rm( "=(
UI templates的目录夹 }7Q% 6&IR
5b*C1HS@X
struts.ui.theme y)@wjH{6
The default UI template theme !|(NgzDP/
默认的UI template主题 0(HU}I
f:}
x7_Q
struts.url.http.port sgFEK[w.y
The HTTP port used by Struts URLs k,*XG$2h
设置http端口 mzgfFNm^G)
!Vk^TFt`
struts.url.https.port KWHY4
The HTTPS port used by Struts URLs 7[)E>XRE
设置https端口 4WB0Pt{
fJg+ Ryo
struts.url.includeParams xJe%f\UDu
The default includeParams method to generate Struts URLs PW0LG^xp`
在url中产生 默认的includeParams oEv'dQ9
upmx $H>
mfr|:i
struts.velocity.configfile z{QqY.Gu{G
The Velocity configuration file path t6c4+D'{].
velocity配置文件路径 !nnC3y{G
>(<f 0
struts.velocity.contexts $&c*'3
List of Velocity context names _[BP0\dPW
velocity的context列表 hZb_P\1X
/n&&Um\
:2`e(+Uz
struts.velocity.manager.classname PKz':_|
org.apache.struts2.views.velocity.VelocityManager implementation class ?@x/E&
org.apache.struts2.views.velocity.VelocityManager接口名 ;uGv:$([g
F+qm[Bc8
struts.velocity.toolboxlocation flx(HJK
The location of the Velocity toolbox {qVZNXDn
velocity工具盒的位置 LS[]=Mk@1
struts.xslt.nocache h(DTa
Whether or not XSLT templates should not be cached QT}tvm@PMq
是否XSLT模版应该被缓存 <P<z N~i9j