struts2的struts.properties配置文件详解 4ffU;6~l'
2@sr:,\1
struts.action.extension yE}BfU { .
The URL extension to use to determine if the request is meant for a Struts action 9WOu8Ia
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 d`85P+Qen|
|P>|D+I0
struts.configuration U{"f.Z:Ydo
The org.apache.struts2.config.Configuration implementation class uWh|C9Y!A
org.apache.struts2.config.Configuration接口名 )9MrdVNv
F%Kp9I*
struts.configuration.files Mxo6fn6-46
A list of configuration files automatically loaded by Struts h!v/s=8c
struts自动加载的一个配置文件列表 '5AvT:
^u
r?\|f:M3
struts.configuration.xml.reload 0D<TF>M;pn
Whether to reload the XML configuration or not cI3 y
是否加载xml配置(true,false) 7^Na9]PY
?d4Boe0-a2
struts.continuations.package NIaF 5z
The package containing actions that use Rife continuations YwGHG{?e
含有actions的完整连续的package名称 ^xt9pa$f
TMqY4;UeL
struts.custom.i18n.resources ALfiR(!
Location of additional localization properties files to load 3^XVQS***
加载附加的国际化属性文件(不包含.properties后缀) t=Jm|wJnUA
t}VwVf<K
struts.custom.properties 6%E~p0)i%
Location of additional configuration properties files to load nx B32
加载附加的配置文件的位置 k}HQq_Y(<
vu<#wW*9
_|X7
n~
struts.devMode n08;
<
Whether Struts is in development mode or not ;Xyte
是否为struts开发模式 Q70bEHLA
.9OFryo
struts.dispatcher.parametersWorkaround IfMpY;ow=
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +1/b^Ac
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +qhnP$vIe
JD ]OIh
struts.enable.DynamicMethodInvocation 1Fs-0)s8
Allows one to disable dynamic method invocation from the URL 0vn[a,W<A
允许动态方法调用 p0Gk j-
+RS$5NLH
struts.freemarker.manager.classname 5KJ%]B(H2
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5/ * >v
org.apache.struts2.views.freemarker.FreemarkerManager接口名 VRF6g|0;
L%XXf3;c
struts.i18n.encoding ` 5#hjLe
The encoding to use for localization messages ~p\n&{P0
国际化信息内码 {OCJ(^8i
qU -!7=}7
struts.i18n.reload nVXg,Jl
Whether the localization messages should automatically be reloaded :Jk33 N4y0
是否国际化信息自动加载 tFiR!f)
3{e'YD~hP
struts.locale g8l5.Mpx
The default locale for the Struts application L,$3Yj
默认的国际化地区信息 O |WbFf
pv&^D,H,
struts.mapper.class oNIFx5*Z
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (ND%}
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Z(;AyTXA
+ubnx{VC
struts.multipart.maxSize 3cixQzb}u
The maximize size of a multipart request (file upload) (sCAR=5v\
multipart请求信息的最大尺寸(文件上传用) I+"
lrU
Yb6q))Y
struts.multipart.parser /zT`Y=1
The org.apache.struts2.dispatcher.multipart. ,Kw5Ro`I:
MultiPartRequest parser implementation for a multipart request (file upload) B.*"Xfr8
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1"YpO"Rh
AF$\WWrB
Y\(;!o0a
struts.multipart.saveDir ezn`
_x_?
The directory to use for storing uploaded files $P nLG]X
设置存储上传文件的目录夹 4,~tl~FD
}Eh*xOta
struts.objectFactory QPs:R hV7
The com.opensymphony.xwork2.ObjectFactory implementation class [7.agI@=
com.opensymphony.xwork2.ObjectFactory接口(spring) YE\K<T
jH
'$[Di'*;
struts.objectFactory.spring.autoWire H\#:,s {1
Whether Spring should autoWire or not ")%r}:0
是否自动绑定Spring [!~}S
){ gAj
struts.objectFactory.spring.useClassCache M{E{N K
Whether Spring should use its class cache or not NXI[q'y
是否spring应该使用自身的cache XYAmJ
.S7:;%qL6
struts.objectTypeDeterminer uPLErO9Es[
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class m$:&P|!'p
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 kjE*9bUc
5)M2r!\
struts.serve.static.browserCache Fw"$A0
If static content served by the Struts filter should set browser caching header properties or not ~5 >[`)
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 55m<XC
r~>,$[|n})
struts.serve.static wkBL=a
Whether the Struts filter should serve static content or not 3?`"
是否struts过滤器应该提供静态内容 ?WHy0x20
=~ jAoOC@
struts.tag.altSyntax <2<87PU
Whether to use the alterative syntax for the tags or not pbLGe'
是否可以用替代的语法替代tags d~Mg
vh'
S
GM!#K
struts.ui.templateDir 78]gtJ
The directory containing UI templates &{z<kmc$6
UI templates的目录夹 P^i.La,
E\$C/}T
struts.ui.theme d#>y }H9
The default UI template theme &z@~B&O
默认的UI template主题 nIBFk?)6
h}&b+1{X
struts.url.http.port ]tY:,Mfs
The HTTP port used by Struts URLs Wi$dZOcSJ
设置http端口 FjFwvO_.
Fo}7hab
struts.url.https.port ~xDw*AC-
The HTTPS port used by Struts URLs x_!ZycEa
设置https端口 CS@&^SEj
Lh ap4:
struts.url.includeParams /!T> b:0
The default includeParams method to generate Struts URLs SlaDt
在url中产生 默认的includeParams CDdkoajBa
-^SA8y
|/T43ADW
struts.velocity.configfile ,.v7FM^gO
The Velocity configuration file path 7bF*AYM
velocity配置文件路径 Y7SacRO
A-uB\ L
struts.velocity.contexts 98=la,^$
List of Velocity context names e:-8k_0|
velocity的context列表 d,9`<1{9
8l>CR#%@C
&y\sL"YL!
struts.velocity.manager.classname s'u(B]E
org.apache.struts2.views.velocity.VelocityManager implementation class =SBBvnPLI
org.apache.struts2.views.velocity.VelocityManager接口名 yPgmg@G@/
o2uj =Gnx
struts.velocity.toolboxlocation z$[C#5+2
The location of the Velocity toolbox Qh`:<KI
velocity工具盒的位置 LFu%v7L`
struts.xslt.nocache `i fiL
Whether or not XSLT templates should not be cached ao$.6X8fQ
是否XSLT模版应该被缓存 FWY2s(5p