struts2的struts.properties配置文件详解 5jk4k c
t`{Fnf
struts.action.extension &"0[7zgYQz
The URL extension to use to determine if the request is meant for a Struts action t0(hc7`
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,5WDYk-
<:o><f+
struts.configuration wAPdu y[
The org.apache.struts2.config.Configuration implementation class );LwWKa
org.apache.struts2.config.Configuration接口名 PUArKBYM-
zvg&o)/[
struts.configuration.files {S~$\4vC!
A list of configuration files automatically loaded by Struts 34+}u,=
struts自动加载的一个配置文件列表 Fb-TCq1y#
>iV(8EgBS
struts.configuration.xml.reload ;c}];ZU3G
Whether to reload the XML configuration or not +r"$?bw'
是否加载xml配置(true,false) ,iy
n&JP/P3Y
struts.continuations.package v}i}pQ\DK
The package containing actions that use Rife continuations ?a(3~dh|
含有actions的完整连续的package名称 ay.IKBXc
4v$AM8/o
struts.custom.i18n.resources i{0_}"B
Location of additional localization properties files to load #a:C=GV;4
加载附加的国际化属性文件(不包含.properties后缀) 'Mtu-\
f{oWd]eAhb
struts.custom.properties 9NAlgET
Location of additional configuration properties files to load {5`?0+
加载附加的配置文件的位置 XjNu|H/
$x*GvI1D
rY.:}D
struts.devMode c i>=45@J
Whether Struts is in development mode or not zq&lxySa
是否为struts开发模式 }% *g\%L
Ckp=d
struts.dispatcher.parametersWorkaround @YELqUb*
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic p
IToy;]
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?HTwTi5!)
/|f]L9)2<
struts.enable.DynamicMethodInvocation e^TF.D?RS
Allows one to disable dynamic method invocation from the URL b iD7(AK
允许动态方法调用 f
;JSP
RCr:2
Iz
struts.freemarker.manager.classname 4{pa`o3
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class wr(?L7
$+
org.apache.struts2.views.freemarker.FreemarkerManager接口名 lB-7.
n66_#X
struts.i18n.encoding /jAs`"U
The encoding to use for localization messages T~Cd=s(T"
国际化信息内码 '
r/1+.
e^QOn
struts.i18n.reload 25r=Xv
Whether the localization messages should automatically be reloaded TrW3@@}j
是否国际化信息自动加载 R
>TtAm0N
@UX`9]-P
struts.locale HN+z7 Q8hH
The default locale for the Struts application U@WT;:.T
默认的国际化地区信息 i^(<E0vS
oZCO$a
struts.mapper.class (XQG"G%U6W
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Qd&j~cG@
org.apache.struts2.dispatcher.mapper.ActionMapper接口 so*7LM?ib>
'(}BfD P
struts.multipart.maxSize VTU-'q
The maximize size of a multipart request (file upload) 1A`u0Y$g
multipart请求信息的最大尺寸(文件上传用) \kx9V|A'
=v8q
struts.multipart.parser AyDK-8a
The org.apache.struts2.dispatcher.multipart. wpdT "
MultiPartRequest parser implementation for a multipart request (file upload) x,+zw9
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) P%c<0y"O:>
9^n
]qg^
:Pv{E
struts.multipart.saveDir jsj" W&J
The directory to use for storing uploaded files LCtm@oN
设置存储上传文件的目录夹 c<=1,TB"-_
OA;L^d
struts.objectFactory +?8nY.~,'
The com.opensymphony.xwork2.ObjectFactory implementation class :BS`Q/<w
com.opensymphony.xwork2.ObjectFactory接口(spring) -9mh|&z`
BshS@"8r
struts.objectFactory.spring.autoWire XcXd7e
Whether Spring should autoWire or not 8Vx'sJ>r4
是否自动绑定Spring R=l/EK
.gB*Y!c7
struts.objectFactory.spring.useClassCache 9ccEF6o0=
Whether Spring should use its class cache or not VCI G+Gz
是否spring应该使用自身的cache A+'j@c\&!
>}iYZ[ V
struts.objectTypeDeterminer 51A>eU|
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class j<[<qU:
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 uAP|ASH9T
Lqt]
struts.serve.static.browserCache R!O'DM+
If static content served by the Struts filter should set browser caching header properties or not d;z`xy(C
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {,m!%FDL
*m2:iChY
struts.serve.static {r"HR%*u
Whether the Struts filter should serve static content or not Cpl\}Qn
是否struts过滤器应该提供静态内容 }.#C9<"}
e>[QF+e)y
struts.tag.altSyntax QL3%L8
Whether to use the alterative syntax for the tags or not #/aWGx_
是否可以用替代的语法替代tags j JW0a\0
x|Dj
struts.ui.templateDir |cH\w"DcXw
The directory containing UI templates TSOt$7-
UI templates的目录夹 p8Pvctc
?@ O[$9y
struts.ui.theme wXP1tM8T
The default UI template theme cla4%|kq3Y
默认的UI template主题 KF.?b]
$ysC)5q.
struts.url.http.port iVD9MHT4
The HTTP port used by Struts URLs 83@+X4ptp
设置http端口 !e?\>
'
E @7! :
struts.url.https.port u{si
The HTTPS port used by Struts URLs &{$\]sv
设置https端口 {_ocW@@
J4<- C\=4
struts.url.includeParams `Tab'7
The default includeParams method to generate Struts URLs [p(Y|~
在url中产生 默认的includeParams :)+cI?\#
KjLj
'+$2<Ys
struts.velocity.configfile 5)}xqE"x
The Velocity configuration file path :Z<-J`
velocity配置文件路径 jYU#]
|k~
VB Ce=<
struts.velocity.contexts yCwQ0|
List of Velocity context names |
#,b1|af
velocity的context列表 +!X^E9ra
sGV%O=9?2
GDk/85cv0$
struts.velocity.manager.classname X{)M}WO+r
org.apache.struts2.views.velocity.VelocityManager implementation class b*$^8%
org.apache.struts2.views.velocity.VelocityManager接口名 }hGbF"clqg
419t"1b
struts.velocity.toolboxlocation TygRG+G-
The location of the Velocity toolbox >8ePx,+!
velocity工具盒的位置 KNV$9&Z
struts.xslt.nocache `A#r6+
Whether or not XSLT templates should not be cached D.RHvo~6
是否XSLT模版应该被缓存 e%8K
A#DX