struts2的struts.properties配置文件详解 0x\2#i
ZP-dW|<[x
struts.action.extension
}g>kpa0c
The URL extension to use to determine if the request is meant for a Struts action lK*jhW?3:
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 qYK4)JP
zDB"r
struts.configuration !n eo\
The org.apache.struts2.config.Configuration implementation class
rIVvO
org.apache.struts2.config.Configuration接口名 #,&8&
:s"2Da3B
struts.configuration.files %%&e"&7HE
A list of configuration files automatically loaded by Struts *<IR9.~{6%
struts自动加载的一个配置文件列表 1fY>>*oP
b0 &
struts.configuration.xml.reload *hF^fxLbl
Whether to reload the XML configuration or not qEQAn/&
是否加载xml配置(true,false) MWs~#ReZ
mZ7B<F[qV
struts.continuations.package ]boE{R!I
The package containing actions that use Rife continuations o&z!6"S<
含有actions的完整连续的package名称 vM(Xip7
;'}'5nO=$
struts.custom.i18n.resources H-,TS^W
Location of additional localization properties files to load H@D;e
加载附加的国际化属性文件(不包含.properties后缀) oxfF`L"
Q_]~0PoH
struts.custom.properties zb :kanb-
Location of additional configuration properties files to load ZVL
gK}s
加载附加的配置文件的位置 4&{!M
_
2JZdw
?v4E<iXs
struts.devMode NEVp8)w
Whether Struts is in development mode or not |9IC/C!HC
是否为struts开发模式 Blk}I
*~2cG;B"e
struts.dispatcher.parametersWorkaround mj2Pk,,SA
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ie@Jb{x
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9i=B
uv]{1S{tb
struts.enable.DynamicMethodInvocation ^m%52Tm
h
Allows one to disable dynamic method invocation from the URL ORBxD"J&
允许动态方法调用 fx)KNm8Lx
c-B/~&
struts.freemarker.manager.classname gn)R^
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ((<`zx
org.apache.struts2.views.freemarker.FreemarkerManager接口名 VEs5;]#<2D
ag8`O&+
struts.i18n.encoding H)>sTST(
The encoding to use for localization messages !^WHZv4
国际化信息内码 YQd:M%$
2*2:-ocl$
struts.i18n.reload 8lP6-VA
Whether the localization messages should automatically be reloaded m`}{V5;
是否国际化信息自动加载 y=Q!-~5|fF
VagT_D
struts.locale ;:]\KJm}?
The default locale for the Struts application %
frfSGf.#
默认的国际化地区信息 |PP.<ce\-
KX4],B5 +
struts.mapper.class |=K_F3aJ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class b>11h
org.apache.struts2.dispatcher.mapper.ActionMapper接口 6F|j(LB
gzdG6"
struts.multipart.maxSize h`Tz5% n
The maximize size of a multipart request (file upload) lV6dm=k
multipart请求信息的最大尺寸(文件上传用) i9 A ~<
_#C()Ro*P
struts.multipart.parser `u
XQ z7
The org.apache.struts2.dispatcher.multipart. f p[,C1U
MultiPartRequest parser implementation for a multipart request (file upload) _O]xey^r
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Q(Gl{#b
2+Rv{%
x#H
3=YD*
struts.multipart.saveDir MX|H}+\
The directory to use for storing uploaded files ,S&z<S_
设置存储上传文件的目录夹 ig!7BxM)<h
/+|#^:@
struts.objectFactory /4irAG% Oj
The com.opensymphony.xwork2.ObjectFactory implementation class cg{AMeW
com.opensymphony.xwork2.ObjectFactory接口(spring) '0Q,
D(]E/k@;~
struts.objectFactory.spring.autoWire SA"8!soY3
Whether Spring should autoWire or not D Ml?o:l
是否自动绑定Spring %)(Cp-b!
oBQm05x"
struts.objectFactory.spring.useClassCache `[fxyg:u
Whether Spring should use its class cache or not jZ*WN|FK?
是否spring应该使用自身的cache )>a B
('[TLHP
struts.objectTypeDeterminer >3.X?
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class t18$x"\4k
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 gm"#:< )
0<p{BL8
struts.serve.static.browserCache ]9 w76Z
If static content served by the Struts filter should set browser caching header properties or not OFU/gaO~
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 (5Nv8H8|
}^kL|qmjR
struts.serve.static s>n(`?@L
Whether the Struts filter should serve static content or not /~p+j{0L3W
是否struts过滤器应该提供静态内容 p9eRZVy/
K%5"u'
struts.tag.altSyntax OQ&'Dti
Whether to use the alterative syntax for the tags or not Nf41ZT~
是否可以用替代的语法替代tags 2{|$T2?e
G4 _,
struts.ui.templateDir &HZmQ>!R D
The directory containing UI templates GEUg]nw
UI templates的目录夹 $A_]:qI2
ay
)/q5
struts.ui.theme *Mc7f ?H
The default UI template theme
t+uE
默认的UI template主题 8+Llx
oXsL9,
struts.url.http.port +j14Q$
The HTTP port used by Struts URLs ^Q<mV*~
设置http端口 (5L-G{4
tz NlJ~E
struts.url.https.port
08bJCH
The HTTPS port used by Struts URLs ,MPB/j^o5!
设置https端口 w*9br SK
5*%#o
struts.url.includeParams Io`P,l:
The default includeParams method to generate Struts URLs QF2q^[>w6
在url中产生 默认的includeParams ^"\s eS
+EXJ\wy
T4/fdORS
struts.velocity.configfile ,i9Byx#TN
The Velocity configuration file path `O?T.p)
velocity配置文件路径 PQmq5N6
;h=*!7:
struts.velocity.contexts uQ$^;Pr
List of Velocity context names 'wasZ b<^
velocity的context列表 e!-,PU9+
+gd2|`#
{]*x*aa\
struts.velocity.manager.classname 3chPY4~A
org.apache.struts2.views.velocity.VelocityManager implementation class sb_oD{+gW
org.apache.struts2.views.velocity.VelocityManager接口名 %q;jVj[
R:-JkV>e:
struts.velocity.toolboxlocation +yob)%
The location of the Velocity toolbox f"u*D,/sS
velocity工具盒的位置 eK_*2=;XRW
struts.xslt.nocache s.Y4pWd5@
Whether or not XSLT templates should not be cached
'7Nr8D4L
是否XSLT模版应该被缓存 #m{{a]zm^