struts2的struts.properties配置文件详解 gbN@EJ
?oQAxb&
struts.action.extension mM-7
jz
The URL extension to use to determine if the request is meant for a Struts action T*zy^we
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 yrV]I(Xe
7:X@lmBz=
struts.configuration Qd"u$~ qC
The org.apache.struts2.config.Configuration implementation class xoNn'LF#u
org.apache.struts2.config.Configuration接口名 A&=`?4>
b~Oc:
struts.configuration.files Pc=:j(
A list of configuration files automatically loaded by Struts Y\{&chuF
struts自动加载的一个配置文件列表 H263<^
o&Sv2"2
struts.configuration.xml.reload `&>CK`%Xu
Whether to reload the XML configuration or not :hUt7/3c
是否加载xml配置(true,false) 9Q:}VpT~nG
8M7pc{
struts.continuations.package 2jH&@g$cl;
The package containing actions that use Rife continuations f<P>IE
含有actions的完整连续的package名称 $iOkn|~<@W
0xpE+GY
struts.custom.i18n.resources CUa`#
Location of additional localization properties files to load o Np4> 7Lk
加载附加的国际化属性文件(不包含.properties后缀) meR5E?Fm
7A46?kfu
struts.custom.properties 02~GT_)$^
Location of additional configuration properties files to load 99&PY[f:{
加载附加的配置文件的位置 MI*@^{G
%!p/r`
z)&GF$*
struts.devMode {b90c'8?a
Whether Struts is in development mode or not i-31Cxb
是否为struts开发模式 p$bR M`R&s
<!I^ xo[
struts.dispatcher.parametersWorkaround dJUI.!hv;
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `&qeSEs\
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) J7s\
c9axzg
UA
struts.enable.DynamicMethodInvocation N1jJ(}{3
Allows one to disable dynamic method invocation from the URL ,)P6fa/
允许动态方法调用 Xsv^GmP+
=Ye I,KbA)
struts.freemarker.manager.classname t7b\ #o
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class aOTrng
org.apache.struts2.views.freemarker.FreemarkerManager接口名 $Qq5Fx9kU
9$e6?<`(Y
struts.i18n.encoding ]6TX)1
The encoding to use for localization messages @-5V~itW
国际化信息内码 -
u'5xn7
_33YgO
struts.i18n.reload _chX
{_Hu-
Whether the localization messages should automatically be reloaded (X}Q'm$n\h
是否国际化信息自动加载
#dm"!I>g
pPtw(5bH
struts.locale ~h6aTN
The default locale for the Struts application lO dwH"
默认的国际化地区信息 TH#5j.uUs
%<Kw
struts.mapper.class N.qS;%*o{e
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class y/yg-\/XF
org.apache.struts2.dispatcher.mapper.ActionMapper接口 e6igx
"ba>.h,#'
struts.multipart.maxSize y|[YEY U)
The maximize size of a multipart request (file upload) Y#aHGZ$i
multipart请求信息的最大尺寸(文件上传用) rH5'+x K
CHNIL^B
struts.multipart.parser _#rE6./@q
The org.apache.struts2.dispatcher.multipart. Y)OTvKrOA
MultiPartRequest parser implementation for a multipart request (file upload) &P3ep[]j
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Y"Y+U`Qt
Zlf)
dDn
LFV',1+
struts.multipart.saveDir 6qp'
_?
The directory to use for storing uploaded files NlV,]
$L1T
设置存储上传文件的目录夹 6o^sQ(]
!ie'}|c
struts.objectFactory K18Sj,]B
The com.opensymphony.xwork2.ObjectFactory implementation class jbK<"T5
com.opensymphony.xwork2.ObjectFactory接口(spring) o? {rPFR
pxi/ ]6pw
struts.objectFactory.spring.autoWire kmfxk/F}
Whether Spring should autoWire or not 5Bog\m S
是否自动绑定Spring GK-__Y.
SYmiDR
struts.objectFactory.spring.useClassCache k>dzeH
Whether Spring should use its class cache or not b~<Tgo_/jf
是否spring应该使用自身的cache 2%zJI"Ic
2v9T&xo=
struts.objectTypeDeterminer rytaC(
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Af{K#R8!
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :OvTZ ?\
;L.RfP"5<
struts.serve.static.browserCache YsXf+_._
If static content served by the Struts filter should set browser caching header properties or not r>gU*bs(
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 (jB_uMuS
NY!"?Zko
struts.serve.static ,.T k"\@
Whether the Struts filter should serve static content or not }iCcXZ&5^
是否struts过滤器应该提供静态内容 A *_ |/o
~G*eJc0S:
struts.tag.altSyntax /QK H30E
Whether to use the alterative syntax for the tags or not &fuJ%
是否可以用替代的语法替代tags Bfz]PN78.G
h|S6LgB
struts.ui.templateDir _/
Uer}
The directory containing UI templates [j^c&}0
UI templates的目录夹
%h-?ff[
Q( \2(x\
struts.ui.theme _ZU.;0
The default UI template theme 2or!v^^u
默认的UI template主题 lf%Ju$H
/6Vn WrN_
struts.url.http.port ]v{TSP^/
The HTTP port used by Struts URLs >[|Y$$
设置http端口 /WX
0}mWu
D%NVqk|
struts.url.https.port BavGirCp
The HTTPS port used by Struts URLs {s/u[T_D2
设置https端口 -32?]LN}
3om4q2R
struts.url.includeParams iS%md
The default includeParams method to generate Struts URLs b`Agb<x"
在url中产生 默认的includeParams /,cyp.
AD/7k3:
E5U{.45
struts.velocity.configfile )@OKL0t
The Velocity configuration file path %SSBXWP
velocity配置文件路径 8rwXbYx
x
y~AF|Dk=
struts.velocity.contexts 'E#;`}&Ah
List of Velocity context names wX!>&Gc.
velocity的context列表 V0!.>sX9
ehCZhi~
uk)6%
struts.velocity.manager.classname =u^{Jvl[
org.apache.struts2.views.velocity.VelocityManager implementation class Sd0y=!Pj=
org.apache.struts2.views.velocity.VelocityManager接口名 v%6mH6V
:n t\uwh
struts.velocity.toolboxlocation !W ,pjW%Y
The location of the Velocity toolbox |zaYIVE[
velocity工具盒的位置 e//q`?ys
struts.xslt.nocache ,\cO>y@
Whether or not XSLT templates should not be cached `aw5"ns^V
是否XSLT模版应该被缓存 YPY'[j(p`n