struts2的struts.properties配置文件详解 on
4
$n7
@>+`1C
struts.action.extension oz7=1;r
The URL extension to use to determine if the request is meant for a Struts action Qjmo{'d
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Qe`Nb4xf
b^"mQ
struts.configuration O$X^Ea7~
The org.apache.struts2.config.Configuration implementation class l=C|4@
org.apache.struts2.config.Configuration接口名 3*-!0
yUs/lI, Q
struts.configuration.files #I#_gjJkx
A list of configuration files automatically loaded by Struts H=9{|%iS
struts自动加载的一个配置文件列表 /!U(/
A-u!{F
struts.configuration.xml.reload 0O(V y y
Whether to reload the XML configuration or not (O/W`qo
是否加载xml配置(true,false) P>R u
;8w
CQ
struts.continuations.package czK}F/Sg `
The package containing actions that use Rife continuations d}wE4(]b
含有actions的完整连续的package名称 EjP)e;
/sSM<r]5j
struts.custom.i18n.resources @eYD@!
Location of additional localization properties files to load eh,_g.
加载附加的国际化属性文件(不包含.properties后缀) ;rl61d}NH#
&_' evZ8
struts.custom.properties V!s#xXD }
Location of additional configuration properties files to load ,My'_"S?
加载附加的配置文件的位置
p4P"U
MRzY<MD
F<{k~
struts.devMode df/7u}>9
Whether Struts is in development mode or not zUWeOR'X
是否为struts开发模式
<3x:nH @
a..LbQQ
struts.dispatcher.parametersWorkaround KBA&s
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic xPJ@!ks9
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 4wx{i6
NKRm#
struts.enable.DynamicMethodInvocation >AWWwq -
Allows one to disable dynamic method invocation from the URL
I p|[
允许动态方法调用 =FQH5iSd
|#Q0UM|'Q
struts.freemarker.manager.classname EmyE%$*T
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class wdIJ?\/763
org.apache.struts2.views.freemarker.FreemarkerManager接口名 rj/nn)vv;
#;h>
x
struts.i18n.encoding tO3#kV\,
The encoding to use for localization messages 4}0Ry\
6
国际化信息内码 CDT;AdRw7
r+tHVh
struts.i18n.reload [buLo*C4:
Whether the localization messages should automatically be reloaded $5DlCN
是否国际化信息自动加载 M2nUY`%#v
ITD&wg
struts.locale L#fK
,r8
The default locale for the Struts application gI/(hp3ob
默认的国际化地区信息 z~/e\
.>2]m[53
struts.mapper.class PB~
r7O]
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ak{XLzn
org.apache.struts2.dispatcher.mapper.ActionMapper接口 !:v7SRUXb
$Qxy@vU
struts.multipart.maxSize GyfKSj;
The maximize size of a multipart request (file upload) O"wo&5b_
multipart请求信息的最大尺寸(文件上传用) <Vh}d/
[{zfI`6
struts.multipart.parser BY@l:y4
The org.apache.struts2.dispatcher.multipart. /$9We8
MultiPartRequest parser implementation for a multipart request (file upload) W*2P+H%
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Sx1OY0)s
KLjvPT\
|{MXDx
struts.multipart.saveDir PgsG*5WQ
The directory to use for storing uploaded files 2_TFc2d
设置存储上传文件的目录夹 B[d%?L_
F:A Vik
struts.objectFactory |<%v`*
The com.opensymphony.xwork2.ObjectFactory implementation class D#[<N
com.opensymphony.xwork2.ObjectFactory接口(spring) s%G%s,d
&d]@$4u$;
struts.objectFactory.spring.autoWire 9zm2}6r4
Whether Spring should autoWire or not QkYKm<b
是否自动绑定Spring c7nbHJi
GE=PaYz
struts.objectFactory.spring.useClassCache >[Tt'.S!?
Whether Spring should use its class cache or not D$VRE^k
是否spring应该使用自身的cache Sa/]81aG
Cv;#8Wj}
struts.objectTypeDeterminer JD9=gBN\?
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class onm"7JsO'
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 SeLFubs_
T/:6Z
struts.serve.static.browserCache )!;20Po
If static content served by the Struts filter should set browser caching header properties or not >` u8(
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 *77Y$X##k
arvKJmD
struts.serve.static R:[#OH.c
Whether the Struts filter should serve static content or not )"_&CYnd
是否struts过滤器应该提供静态内容 >u]9(o7I
((M>To_l
struts.tag.altSyntax I A$=
Whether to use the alterative syntax for the tags or not ^-F#"i|Cn
是否可以用替代的语法替代tags 6NQ`IC
@h(Z;
struts.ui.templateDir &AVX03P
The directory containing UI templates )5u#'5I>
UI templates的目录夹 # hw;aQ
(Dn1Eov
struts.ui.theme .vd*~U"
The default UI template theme %AA-G
默认的UI template主题 >O0<u
EAz>`~
struts.url.http.port *n EG<Y)
The HTTP port used by Struts URLs (px3o'ls h
设置http端口 ^2i$AM1t
g'2}Y5m$`
struts.url.https.port @.,'A[D!K
The HTTPS port used by Struts URLs g+Y &rz
设置https端口 a6?t?:~|
8t|?b
struts.url.includeParams ! vuun |
The default includeParams method to generate Struts URLs ft~QVe!
在url中产生 默认的includeParams #}Bv/`t
X.ZG-TC
2iC BF-,
struts.velocity.configfile T
"#DhEM
The Velocity configuration file path -h=wLYl@0i
velocity配置文件路径 '@5x=>
M~)iiKw~MY
struts.velocity.contexts W{1l?Wo
List of Velocity context names # wyjb:Ql
velocity的context列表 [}4\CWM
U*XdFH}vV
|W*2L]&
struts.velocity.manager.classname 8C*xrg#g:
org.apache.struts2.views.velocity.VelocityManager implementation class t| B<F t^
org.apache.struts2.views.velocity.VelocityManager接口名 rS+ >oP}
olm'_{{
struts.velocity.toolboxlocation uE>m3Y(aP
The location of the Velocity toolbox TCi0]Y~a
velocity工具盒的位置 j"+6aD/lv
struts.xslt.nocache :*-O;Yw?S@
Whether or not XSLT templates should not be cached u++a0>N
是否XSLT模版应该被缓存 #A:^XAU1Z@