struts2的struts.properties配置文件详解 9;uH}j8sE
%'=2Jy6h
struts.action.extension "KS"[i!3j
The URL extension to use to determine if the request is meant for a Struts action 7'65+c[&
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 gmn b
evD=]iVD
struts.configuration U1 *P
The org.apache.struts2.config.Configuration implementation class H=*0KX{
org.apache.struts2.config.Configuration接口名 %Y0BPTt$
Nn-k hl|11
struts.configuration.files )4-!]NsV
A list of configuration files automatically loaded by Struts `s Im&.d
struts自动加载的一个配置文件列表 LAM{
,?~
`B&=ya|bl
struts.configuration.xml.reload :8`$BbV
Whether to reload the XML configuration or not u"%D;
是否加载xml配置(true,false) It/hXND`
~3%\8,0
struts.continuations.package dZ8ldpf8
The package containing actions that use Rife continuations I Z*)
含有actions的完整连续的package名称 - US>].
H3vnc\d~
struts.custom.i18n.resources a&2x;diF
Location of additional localization properties files to load EYZ&%.Sy5
加载附加的国际化属性文件(不包含.properties后缀) OwPHp&{ Y
+-SO}P
struts.custom.properties wtf H3v
Location of additional configuration properties files to load *JZ9'|v_H
加载附加的配置文件的位置 v _:KqdmO]
?b'(39fj
`8#xO{B1
struts.devMode S 1^t;{"
Whether Struts is in development mode or not g.blDOmlc
是否为struts开发模式 [`s.fkb8
1*$6u5.=F
struts.dispatcher.parametersWorkaround :is2 &-|x
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'vu]b#l3
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ZZwIB3sNhf
J %B/(v`
struts.enable.DynamicMethodInvocation V@s93kh
Allows one to disable dynamic method invocation from the URL ,)!%^~v
允许动态方法调用 ntB#2S
,quUGS
struts.freemarker.manager.classname BFP@Yn~k
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {oF;ZM'r
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Vr"'O6
^+-]V9?+
struts.i18n.encoding {Y=k`t,
The encoding to use for localization messages AZ^>osr
国际化信息内码 Anpp`>}N
#O,w{S
struts.i18n.reload !};Ll=dz
Whether the localization messages should automatically be reloaded J7oj@Or9
是否国际化信息自动加载 hR:i!
T][c^K*
struts.locale C+ Y;D:
The default locale for the Struts application Z+EZ</'(a
默认的国际化地区信息 7\$ b%A
c yP+a
struts.mapper.class -|s%5p|
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class H^`J(J+
org.apache.struts2.dispatcher.mapper.ActionMapper接口 xluAjOQ6
hVT>HER
struts.multipart.maxSize J#4pA{01w
The maximize size of a multipart request (file upload) sa/9r9hc+
multipart请求信息的最大尺寸(文件上传用) 1M?x,N_W
[ +CFQf>
struts.multipart.parser /X0<2&v
The org.apache.struts2.dispatcher.multipart. lx0BKD?n
MultiPartRequest parser implementation for a multipart request (file upload) L0H^S)g
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) :SO4@JT{W
;"e55|d9I
]5:[6;wS
struts.multipart.saveDir IG;=
|
The directory to use for storing uploaded files "\rO}(gC;`
设置存储上传文件的目录夹 hH-!3S2'
H8B.c%_|U
struts.objectFactory p[%~d$JUq
The com.opensymphony.xwork2.ObjectFactory implementation class TNeL%s?B3
com.opensymphony.xwork2.ObjectFactory接口(spring) {|j-e{*
$AvaOI.l
struts.objectFactory.spring.autoWire K.&6c,P]
Whether Spring should autoWire or not &z*4Uij
是否自动绑定Spring sAs`O@
/#"9!8%V
struts.objectFactory.spring.useClassCache yLnTIE 3)
Whether Spring should use its class cache or not X}h}3+V
是否spring应该使用自身的cache UUtSme
.wWf#bB
struts.objectTypeDeterminer qC& xuu|
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class hBcklI
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口
E5|GP
s(s_v ?k
struts.serve.static.browserCache }TuMMO4+
If static content served by the Struts filter should set browser caching header properties or not -Gl!W`$I`
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 LV0gw"
k%-UW%
struts.serve.static H15!QxD#
Whether the Struts filter should serve static content or not &`>dY
/Y
是否struts过滤器应该提供静态内容 [AD%8H
ts@e
,
struts.tag.altSyntax W$l4@A
Whether to use the alterative syntax for the tags or not DIvxut
是否可以用替代的语法替代tags s2 aFme
i? #U>0!
struts.ui.templateDir n[v`F
The directory containing UI templates @Xh8kvc81
UI templates的目录夹 ,O^kZ}b
z5<&}Vh;P
struts.ui.theme B=X_c5
The default UI template theme V1G5Kph
默认的UI template主题 ;
+Ie<oW
@8:c3(!
struts.url.http.port ntL%&wY
The HTTP port used by Struts URLs 673G6Nk
设置http端口 :'fK`G
6
,y/m5-D!
struts.url.https.port uV'C_H
The HTTPS port used by Struts URLs ,g|ht%"
设置https端口 eUgKwu;
M3GFKWQI,`
struts.url.includeParams n4"xVDL
The default includeParams method to generate Struts URLs h4ghMBo%
在url中产生 默认的includeParams 1.~^QH\p?3
.>y3`,0h
$m+Pl[s
struts.velocity.configfile *_Pkb.3R
The Velocity configuration file path jlUT9Zp
velocity配置文件路径 8jLO-^X<<
s>>lf&7
struts.velocity.contexts ,d=Dicaz
List of Velocity context names b+CvA(*
velocity的context列表 gKPqU @$*
:
9zEne4
k9\n='OI
struts.velocity.manager.classname M[R'
org.apache.struts2.views.velocity.VelocityManager implementation class 3zM>2)T-
org.apache.struts2.views.velocity.VelocityManager接口名 WS@8Z0@RD
Dl}va
struts.velocity.toolboxlocation Fy_~~nI0
The location of the Velocity toolbox lx82:_
velocity工具盒的位置 y] $-:^
struts.xslt.nocache 5y~B/.YY
Whether or not XSLT templates should not be cached #so"p<7 R
是否XSLT模版应该被缓存 +]VW[$W