struts2的struts.properties配置文件详解 |oWl9j]Z
^w!1QH0:/
struts.action.extension m#$$xG
The URL extension to use to determine if the request is meant for a Struts action f, '*f:(
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Z2U6<4?1%
zv7)JH7EV&
struts.configuration fsl
ZJE
The org.apache.struts2.config.Configuration implementation class *@ {
org.apache.struts2.config.Configuration接口名 ur:8`+"
(
P BVF'~f@j
struts.configuration.files )Q 5 x%
A list of configuration files automatically loaded by Struts ?n]adS{
struts自动加载的一个配置文件列表 p,V%wGM
Q>q-6/|UX
struts.configuration.xml.reload
Y(
Whether to reload the XML configuration or not A<]
$[2qPj
是否加载xml配置(true,false) o}&{Y2!x
eslvg#Q
struts.continuations.package K'}I?H~P_
The package containing actions that use Rife continuations Hd\.,2a"
含有actions的完整连续的package名称 oTRidG
<O1os"w
struts.custom.i18n.resources m*L5xxc!
Location of additional localization properties files to load TCFr-*x
加载附加的国际化属性文件(不包含.properties后缀) 3-=AmRxW't
pw&k0?K#
struts.custom.properties ]HaX.Z<
Location of additional configuration properties files to load ,1g_{dMx
加载附加的配置文件的位置 G!`PP
FWB
*=.A9
C;5`G
*e
struts.devMode 33SCHQ
Whether Struts is in development mode or not {{Qbu}/@
是否为struts开发模式 }$'XV.
qqJghV$Oj
struts.dispatcher.parametersWorkaround Yi]`"\
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic em95ccs'-
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /N({"G'
:.tL~%
q
struts.enable.DynamicMethodInvocation RH:vd|q+
Allows one to disable dynamic method invocation from the URL x#5vdBf
允许动态方法调用 "hQGk
H0!$aO
struts.freemarker.manager.classname C(9"59>{]y
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class c3Gy1#f:#2
org.apache.struts2.views.freemarker.FreemarkerManager接口名 A|,qjiEJCc
'Hzc"<2Y\
struts.i18n.encoding 5HsF#
The encoding to use for localization messages S8B?uU
国际化信息内码 FrUqfTi+W
x N7sFSV@
struts.i18n.reload 7AS_Aw1L
Whether the localization messages should automatically be reloaded :\I*_00!
是否国际化信息自动加载 Y+o\?|q-E
_g
fmo
struts.locale &XdTY +
The default locale for the Struts application ZDAW>H<
默认的国际化地区信息 9J~\.:jH-
TpwN2 =
struts.mapper.class sa&`CEa
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class r{t6Vv2J
org.apache.struts2.dispatcher.mapper.ActionMapper接口 tHo|8c~[
DRR)mQBb
struts.multipart.maxSize Ssuz%*
The maximize size of a multipart request (file upload) >MKj~Ud
multipart请求信息的最大尺寸(文件上传用) 9gdK&/ulR
lz::6}
struts.multipart.parser >d=pl}-kOQ
The org.apache.struts2.dispatcher.multipart. |IV7g*J89
MultiPartRequest parser implementation for a multipart request (file upload) SE43C %hv
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4Ngp -
~".@;Q
P$0c{B4I
struts.multipart.saveDir hd i0YL
The directory to use for storing uploaded files i7 21(1
设置存储上传文件的目录夹 b>8TH-1t~
~@Q]@8Tv\
struts.objectFactory L -:@Om!
The com.opensymphony.xwork2.ObjectFactory implementation class 4p-"1 c$
com.opensymphony.xwork2.ObjectFactory接口(spring) :b(W&iBWhI
JKfJ%yy |
struts.objectFactory.spring.autoWire oQ,<Yx%E3
Whether Spring should autoWire or not cV0CI&
是否自动绑定Spring ZZZ9C#hK^9
Q!qD3<?5
struts.objectFactory.spring.useClassCache r8eJ&-Yi{Z
Whether Spring should use its class cache or not d23=WNn
是否spring应该使用自身的cache K0_gMi+bR
"f_qG2A{
struts.objectTypeDeterminer ^g|cRI_"
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }.&;NgZS
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口
U-4F
N)
_24
struts.serve.static.browserCache k_,&
Q?GtU
If static content served by the Struts filter should set browser caching header properties or not YS){N=g&'
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 A] 'jsv!+
M /v@C*c
struts.serve.static hL6;n*S=
Whether the Struts filter should serve static content or not q)Nw$dW<
是否struts过滤器应该提供静态内容 (g/A uL
}.E^_`
struts.tag.altSyntax :&TM0O
Whether to use the alterative syntax for the tags or not =WW5H\?
是否可以用替代的语法替代tags 'UWkJ2:!
qf\W,SM
struts.ui.templateDir n`&D_AbQ
The directory containing UI templates |,:p[Oy
UI templates的目录夹 65qqs|&w;[
4Ex&A