struts2的struts.properties配置文件详解 -OfAl~ 4
({!*&DVu
struts.action.extension ;:Kc{B.s
The URL extension to use to determine if the request is meant for a Struts action |:SXN4';?
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 mj y+_
M49Hm[0(
struts.configuration i\MW'b
The org.apache.struts2.config.Configuration implementation class RZj06|r8
org.apache.struts2.config.Configuration接口名 b|`
hrOp9|!m
struts.configuration.files {Z[kvXf"mZ
A list of configuration files automatically loaded by Struts ]d&;QZ#w
struts自动加载的一个配置文件列表 &0-Pl.M
qZSW5lC0
struts.configuration.xml.reload [@s5v
Whether to reload the XML configuration or not F0Z cV>j}
是否加载xml配置(true,false) IRI<no
G&7 } m
struts.continuations.package ^}GR!990
The package containing actions that use Rife continuations T9'5V@
含有actions的完整连续的package名称 l02aXxT)]
.fY$$aD$4
struts.custom.i18n.resources .q$/#hN:e
Location of additional localization properties files to load 7|?Ht]
加载附加的国际化属性文件(不包含.properties后缀) 89A04HX
aII:Pzh]B
struts.custom.properties )v.\4Q4
Location of additional configuration properties files to load lHPhZ(Z
加载附加的配置文件的位置 ;!>>C0s"
F=kiYa}
`P9%[8`C 9
struts.devMode zPb"6%1B
Whether Struts is in development mode or not jTY{MY Jh
是否为struts开发模式 QOF'SEq"k
jY\YSQ
struts.dispatcher.parametersWorkaround #DHeEE
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \G1(r=fU
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) *K w/ilI
UgLJV2M6
struts.enable.DynamicMethodInvocation f P1fm
Allows one to disable dynamic method invocation from the URL Qp>Q-+e0
允许动态方法调用 \V.U8asfI
.s@[-!
p
struts.freemarker.manager.classname 3bB%@^<
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~9+\
org.apache.struts2.views.freemarker.FreemarkerManager接口名 &oiBMk`*
,Onu%
struts.i18n.encoding 2O9OEZdKB
The encoding to use for localization messages 885
,3AdA
国际化信息内码 cNqw(\rr
ia/_61%
struts.i18n.reload \[x4
Whether the localization messages should automatically be reloaded BRMR>
~k(
是否国际化信息自动加载 & |o V\L
$d7{ q3K&1
struts.locale 4'#
_b
The default locale for the Struts application &Lgi
默认的国际化地区信息 ZsYT&P2
&rxR"^x\
struts.mapper.class n?A;'\cK
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ]dIr;x`
org.apache.struts2.dispatcher.mapper.ActionMapper接口 N
DV_/BI
FKB)o7
struts.multipart.maxSize L"!BN/i_
The maximize size of a multipart request (file upload) P(Hh%9'(
multipart请求信息的最大尺寸(文件上传用) S-+^L|
]7{-HuQ8>}
struts.multipart.parser aG\B?pn-
The org.apache.struts2.dispatcher.multipart. pF"IDC
MultiPartRequest parser implementation for a multipart request (file upload) :dzamHbX9
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) GQ9g $&T
yf6&'Y{
7e&%R4{b
struts.multipart.saveDir U9B|u`72
The directory to use for storing uploaded files lq!l{[Xp
设置存储上传文件的目录夹 {%b-~& F9
e: :H1V
struts.objectFactory #65Uei|F`+
The com.opensymphony.xwork2.ObjectFactory implementation class =>6'{32W_
com.opensymphony.xwork2.ObjectFactory接口(spring) XX(;,[(_
SLc'1{
struts.objectFactory.spring.autoWire "GofQ5,|
Whether Spring should autoWire or not %fz!'C_4
是否自动绑定Spring hw&R.F
izi=`;=D^
struts.objectFactory.spring.useClassCache ToVm]zPOUt
Whether Spring should use its class cache or not %/&?t`%H
是否spring应该使用自身的cache )/9/p17:xu
L1k_AC1.M
struts.objectTypeDeterminer AHhck?M^
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ,9p
4(jjX
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 qzqv-{.h
VscEdtkd
struts.serve.static.browserCache Dl%NVi+n
If static content served by the Struts filter should set browser caching header properties or not ""ICdZ_A
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中
.gWYKZM
/^\6q"'
struts.serve.static OPwj*b:-m
Whether the Struts filter should serve static content or not Ui7S8c#tH
是否struts过滤器应该提供静态内容 OE/O:F:1j
RW|3d<Fj
struts.tag.altSyntax u#Qd`@p
Whether to use the alterative syntax for the tags or not v}ZQC8wL
是否可以用替代的语法替代tags e;<=aa)}?
:_Y@,CpIEg
struts.ui.templateDir D[)g-_3f6<
The directory containing UI templates dg4 QA_"
UI templates的目录夹 i9oi}$;J
Hay`lA2@
struts.ui.theme ?t+Kp9@aZ
The default UI template theme m$:o+IH/
默认的UI template主题 b{t'Doe
n-{G19?
struts.url.http.port p/xxoU
The HTTP port used by Struts URLs .4~n|d>z
设置http端口 \0m[Ch}~ey
F%x8y
struts.url.https.port j']m*aM1>
The HTTPS port used by Struts URLs (&FSoe/!['
设置https端口 X/TuiKe
[(Pm\o
struts.url.includeParams .3&zP
The default includeParams method to generate Struts URLs IXugnvyV
在url中产生 默认的includeParams D`LcL|nmH
,.uPlnB_
_d&FB~=
struts.velocity.configfile @U(D&_H,K
The Velocity configuration file path J]~LmSh
velocity配置文件路径 A5zT^!`[
]v3 9ag_hu
struts.velocity.contexts tm(.a?p
List of Velocity context names #!KbqRt
velocity的context列表 .Kr?vD^nG
v*1UNXU\
`Xnu("w)
struts.velocity.manager.classname
e@6<mir[4
org.apache.struts2.views.velocity.VelocityManager implementation class C9U~lcIS
org.apache.struts2.views.velocity.VelocityManager接口名 DGTSk9iK(
|?SK.1pW
struts.velocity.toolboxlocation -U(T
The location of the Velocity toolbox aO?(ZL
velocity工具盒的位置 e/EfWwqt
struts.xslt.nocache {SW}S_
Whether or not XSLT templates should not be cached Ym5q#f)|
是否XSLT模版应该被缓存 }N1Z7G