struts2的struts.properties配置文件详解 ,e$RvFB
D_<B^3w)
struts.action.extension m8L %!6o
The URL extension to use to determine if the request is meant for a Struts action (421$w,B%
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 M6cybEk`
n5xG4.#G
struts.configuration anz7ae&P'K
The org.apache.struts2.config.Configuration implementation class `::j\3B&Y-
org.apache.struts2.config.Configuration接口名 Us "G X_
Ap\]v2G
struts.configuration.files 3@eI? (N
A list of configuration files automatically loaded by Struts ~7}no}7
struts自动加载的一个配置文件列表 sR PQr?
_d~GY,WTdO
struts.configuration.xml.reload |:(B I5&S
Whether to reload the XML configuration or not k(>J?\iNW
是否加载xml配置(true,false) PNLlJlYlP
24InwR|^
struts.continuations.package YVRE9
The package containing actions that use Rife continuations A|IPQ=
含有actions的完整连续的package名称 ~qb?#IY]`
oIE(`l0l
struts.custom.i18n.resources }1CO>a<
Location of additional localization properties files to load hHw1<! M
加载附加的国际化属性文件(不包含.properties后缀) 8_>:0(y
u(r
T2
struts.custom.properties "OUY^ cM
Location of additional configuration properties files to load Zq1> M'V;
加载附加的配置文件的位置 UBM8l
.O~rAu*K
b,HXD~=
struts.devMode ,t1s#*j\!q
Whether Struts is in development mode or not 3S^Qo9S
是否为struts开发模式 YA8/TFu<_
Tz&cm=
struts.dispatcher.parametersWorkaround m|cRj{xZF
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic jvd3_L-@E<
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 0~<t :q!
gcX
struts.enable.DynamicMethodInvocation ]]V=\.y
Allows one to disable dynamic method invocation from the URL q{,yas7}
允许动态方法调用 :1iXBG\
<9=RLENmY"
struts.freemarker.manager.classname .
VI
#
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Jl"DMUy[kW
org.apache.struts2.views.freemarker.FreemarkerManager接口名 mMhe,8E&
_;(QMeR
struts.i18n.encoding 3joMtRB>;
The encoding to use for localization messages \hzx?
国际化信息内码 _["97>q
Vyx&MU.-J
struts.i18n.reload N/^[c+J[E
Whether the localization messages should automatically be reloaded YRl4?}r2
是否国际化信息自动加载 v Ma$JPauI
71&`6#
struts.locale rUiUv(q
The default locale for the Struts application nzYFa J +
默认的国际化地区信息 ";0-9*I
0XIrEwm@%
struts.mapper.class y7*^H
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class lgAE`Os
org.apache.struts2.dispatcher.mapper.ActionMapper接口 nDchLVw
~>$(5s2
struts.multipart.maxSize 10/3 -)+
The maximize size of a multipart request (file upload) !q PUQ+
multipart请求信息的最大尺寸(文件上传用) J_|>rfW
wVs |mG"
struts.multipart.parser -gS/
The org.apache.struts2.dispatcher.multipart. ]}0+7Q
MultiPartRequest parser implementation for a multipart request (file upload) / dn]`Ge)
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) R91u6r#
D3 E!jQ1
2gjA>ET`N
struts.multipart.saveDir 483vFLnF
The directory to use for storing uploaded files QaEXk5>e
设置存储上传文件的目录夹 KQqQ@D&n
tX}Fb0y
struts.objectFactory `+@%l*TQ
The com.opensymphony.xwork2.ObjectFactory implementation class [c6_6q As
com.opensymphony.xwork2.ObjectFactory接口(spring) Fn%:0j
Md m(xUs
struts.objectFactory.spring.autoWire ~RE`@/wQ]
Whether Spring should autoWire or not &9g#Vq%
是否自动绑定Spring 8c$IsvJg
%nc+VL4
struts.objectFactory.spring.useClassCache ma*9O |v^
Whether Spring should use its class cache or not 1Kebl
是否spring应该使用自身的cache 3vs2}IV'
8@Km@o]?
struts.objectTypeDeterminer
Q{Bj(f
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class S"Zs'7dy`
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 'XQv> J
khu,P[3>
struts.serve.static.browserCache IweQB} d
If static content served by the Struts filter should set browser caching header properties or not CILk
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 cRfX
j+ys&pDczm
struts.serve.static hQ8{
A7
Whether the Struts filter should serve static content or not 1Q;`<=
是否struts过滤器应该提供静态内容 =O_[9kuJ
ZmHl~MR@
struts.tag.altSyntax /iQ>he~fy
Whether to use the alterative syntax for the tags or not |m EJJg`"7
是否可以用替代的语法替代tags EX5kF
n<$I, IRE
struts.ui.templateDir "7
4 L
The directory containing UI templates fu&]t8MJC
UI templates的目录夹 aY+>85?g
Wl2>U(lj
struts.ui.theme |Z/ySAFM
The default UI template theme ffhD+-gTU
默认的UI template主题 (6+0U1[Iz
^~ I
struts.url.http.port 5LK>n-
The HTTP port used by Struts URLs <z4!m/f[(
设置http端口 g?+P&FL#I
^b.J z}
struts.url.https.port [(K^x?\Y0'
The HTTPS port used by Struts URLs /kq~*s
设置https端口 Y+7v~/K=
)G|UB8]
struts.url.includeParams cS[`1y,\3
The default includeParams method to generate Struts URLs =w5w=qB
在url中产生 默认的includeParams K&h|r`W(
^YZ#P0 y
MG@19R2s
struts.velocity.configfile Dx%fW`
The Velocity configuration file path ;g*6NzdA
velocity配置文件路径 C!P6Z10+j
5-QXvw(TH
struts.velocity.contexts w$!n8Aqs
List of Velocity context names /L
4WWQ5
velocity的context列表 KKzvoc?Bt
'huLv(Uu
RPWYm
struts.velocity.manager.classname / u{r5`4
org.apache.struts2.views.velocity.VelocityManager implementation class x1et,&,
org.apache.struts2.views.velocity.VelocityManager接口名 v]!7=>/2
J5"*OH:f
struts.velocity.toolboxlocation hU{%x#8}lK
The location of the Velocity toolbox EKf4f^<
velocity工具盒的位置 k4P.}SJ?
struts.xslt.nocache V+q RDQ
Whether or not XSLT templates should not be cached Sq'z<}o
是否XSLT模版应该被缓存 td~3N,S