struts2的struts.properties配置文件详解 M^A48u{,"
o]odxr
struts.action.extension "6A
`
q\
The URL extension to use to determine if the request is meant for a Struts action 1l9G[o
*
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 BqEI(c6
)J=! L\
struts.configuration t <~h'U
The org.apache.struts2.config.Configuration implementation class pG_;$8Hc
org.apache.struts2.config.Configuration接口名 &*o=I|pQ
R-
X5K-
struts.configuration.files A]*}HZ,
A list of configuration files automatically loaded by Struts @?ebuj5{e
struts自动加载的一个配置文件列表 rDtY[
rV.}PtcFY
struts.configuration.xml.reload `Uq#W+r,
Whether to reload the XML configuration or not eb"VE%+Hu
是否加载xml配置(true,false) &{5,:%PXw
]dVGUG8
struts.continuations.package Y!xF;a
The package containing actions that use Rife continuations _r#Z}HK
含有actions的完整连续的package名称 $L`d&$Vh
VD AaYDi
struts.custom.i18n.resources I]|Pq
Location of additional localization properties files to load v@sIHb
加载附加的国际化属性文件(不包含.properties后缀) 'B$yo]
kb%;=t2
struts.custom.properties m<G,[Yc
Location of additional configuration properties files to load 2B1q*`6R
加载附加的配置文件的位置 2F[ q).
|o"?gB}Dh
y`iBFC;_
struts.devMode _>?\DgjH
Whether Struts is in development mode or not 8bGd} (
是否为struts开发模式 /A\8 mL8
S)(.,x
struts.dispatcher.parametersWorkaround pp?D7S
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _`$qBw.Nx
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) eSn+ B;
!vi>U|rh
struts.enable.DynamicMethodInvocation bG"~"ipn%
Allows one to disable dynamic method invocation from the URL ux-/>enc
允许动态方法调用 d7^}tM
[&[k^C5
struts.freemarker.manager.classname Y;eZ9|Ht9
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class MR7}s4o
org.apache.struts2.views.freemarker.FreemarkerManager接口名 NSMyliM1Y
@)+AaC#-
struts.i18n.encoding $QF{iV@6d4
The encoding to use for localization messages /V8#[9K
国际化信息内码 O^PKn_OJ
a~`eQ_ND
struts.i18n.reload eu|YCYj)g
Whether the localization messages should automatically be reloaded Ufj`euY
是否国际化信息自动加载 ~hH REI&
Y|m+dT6
struts.locale wo}H'Q}Hj
The default locale for the Struts application ~Gp[_ %K
默认的国际化地区信息 3Aip}<1
yu {d! {6
struts.mapper.class P{`C^W$J^
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class G5_=H,Vmd
org.apache.struts2.dispatcher.mapper.ActionMapper接口 GMx&y2. Z
dbLZc$vPj
struts.multipart.maxSize R- wp9 ^
The maximize size of a multipart request (file upload) 2szPAuN+
multipart请求信息的最大尺寸(文件上传用) PQt")[
eIF5ZPSZi
struts.multipart.parser yN0Vr\r2
The org.apache.struts2.dispatcher.multipart. Ty\R=y}}
MultiPartRequest parser implementation for a multipart request (file upload) unzr0x
{
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) @IKYh{j4
F;EwQjTF
pX<`+t[
struts.multipart.saveDir g/_5unI}u
The directory to use for storing uploaded files 2|y"!JqE1
设置存储上传文件的目录夹 3NqB
<J
/62!cp/F/D
struts.objectFactory 6v!`1}
~
The com.opensymphony.xwork2.ObjectFactory implementation class ,t744k')
com.opensymphony.xwork2.ObjectFactory接口(spring) N% B>M7-=
k'Hs}z eNn
struts.objectFactory.spring.autoWire 2qNt,;DQ
Whether Spring should autoWire or not *R,5h2;
是否自动绑定Spring 7+cO_3AB
**0~K" ;\
struts.objectFactory.spring.useClassCache ?81c 4w
Whether Spring should use its class cache or not xu%k~4cB,
是否spring应该使用自身的cache i"FtcP^
b_krk\e@S
struts.objectTypeDeterminer ,ng Cv;s
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <=&`ZH
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 I,DS@SK
T Z@]:e:"b
struts.serve.static.browserCache z6P$pqyF
If static content served by the Struts filter should set browser caching header properties or not zI uJ-8T"
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 V &T~zh1
/s?`&1v|r
struts.serve.static I][*j
Whether the Struts filter should serve static content or not ^
+\dz
是否struts过滤器应该提供静态内容 G4;Oi=
BOX2O.Pm
struts.tag.altSyntax MjRHA^b
Whether to use the alterative syntax for the tags or not Q{>k1$fkV
是否可以用替代的语法替代tags 4at?(B+
R\f+SvE
struts.ui.templateDir d-ko
^Y0
The directory containing UI templates e`s
~.ZF
UI templates的目录夹 JR|ck=tq
372rbY
struts.ui.theme RB\uK
1+
The default UI template theme _f,C[C[e&
默认的UI template主题 r5/0u(\LB
^76]0`gS
struts.url.http.port |r/"
|`
The HTTP port used by Struts URLs wlvgg
设置http端口 Izc\V9+
kTB0b*V
struts.url.https.port i]4I [!
The HTTPS port used by Struts URLs 5tkAFb4P
设置https端口 vr l-$ii
& .j&0WE
struts.url.includeParams bJ%h53
The default includeParams method to generate Struts URLs "sCRdx]_
在url中产生 默认的includeParams 33q}CzK
=nS3p6>rZ
q;CiV
struts.velocity.configfile *fxG?}YT
The Velocity configuration file path L*+@>3mu)
velocity配置文件路径 SfyQ$$Z
F>l]
9!P|m
struts.velocity.contexts BU_nh+dF
List of Velocity context names \\qZl)P_
velocity的context列表 ND;#7/$>
t:Q*gWRh
Kc-W&?~y#1
struts.velocity.manager.classname =T@1@w
org.apache.struts2.views.velocity.VelocityManager implementation class n\53w h@+
org.apache.struts2.views.velocity.VelocityManager接口名 7$=InK
*)Zdz9E'1(
struts.velocity.toolboxlocation GefTdO.&
The location of the Velocity toolbox oc`H}Wvn
velocity工具盒的位置 b$joY*< 6
struts.xslt.nocache NLqzi%s
Whether or not XSLT templates should not be cached eauF~md,
是否XSLT模版应该被缓存
t{96p77)=