struts2的struts.properties配置文件详解 toIYE*ocv=
v%nP*i9
struts.action.extension tDt
:^Bc
The URL extension to use to determine if the request is meant for a Struts action <h@]Ri
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^Q\XGl
G,|KL" H6
struts.configuration CdL.?^
The org.apache.struts2.config.Configuration implementation class ot }6D
org.apache.struts2.config.Configuration接口名 #q;z8 @
|z*>ixK
struts.configuration.files 3ev -Iqz
A list of configuration files automatically loaded by Struts (hN?:q?'
struts自动加载的一个配置文件列表 #kci=2q_
Ha218Hy0W
struts.configuration.xml.reload =k_UjwgN^
Whether to reload the XML configuration or not r^5jh1
是否加载xml配置(true,false) \<V)-eB
En\Z#0,V
struts.continuations.package 8kH<$9
The package containing actions that use Rife continuations ({ k7#1
h8
含有actions的完整连续的package名称 9@'4P
hl]S'yr
struts.custom.i18n.resources i?-Y
Location of additional localization properties files to load =?/&u<
加载附加的国际化属性文件(不包含.properties后缀) ISBF\ wQY
PJK9704 6
struts.custom.properties *HeVACxo
Location of additional configuration properties files to load S3y246|4
加载附加的配置文件的位置 T?rH
,$:
>
c:Zx!
F>-}*o
struts.devMode m#n]Wgp'
Whether Struts is in development mode or not 8wmQ4){
是否为struts开发模式 x<>YUw8`
P)hi||[
struts.dispatcher.parametersWorkaround ;_N5>3C:
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic aq$q
~,E
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) p[qg&VKB
yWY|]Pp
struts.enable.DynamicMethodInvocation gr+Pl>C{
Allows one to disable dynamic method invocation from the URL M*`hDdS
允许动态方法调用 y/tSGkMv
$r15gfne>
struts.freemarker.manager.classname F0.z i>5
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (w$'o*z;(
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ;==j|/ERe
JDlBVZ!
struts.i18n.encoding +`}o,z/^
The encoding to use for localization messages N2FbrfNFa
国际化信息内码 %*K;np-q{
1tGgDbJU
struts.i18n.reload P=gJAE5
Whether the localization messages should automatically be reloaded _ZyT3P&
是否国际化信息自动加载 f^e&hyC
8,*3zVk-
struts.locale Q0>q:aj\
The default locale for the Struts application -?fR|[\[U
默认的国际化地区信息 t!qwxX*$T
Nw pS)6<-
struts.mapper.class 1EsqQz*$u
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class S{:Cu}o
org.apache.struts2.dispatcher.mapper.ActionMapper接口 7 :U8 f:
HeozJ^u\?
struts.multipart.maxSize r?3Aqi"
The maximize size of a multipart request (file upload) ?cK]C2Ak
multipart请求信息的最大尺寸(文件上传用) $5A^'q
<5IQc[3]aP
struts.multipart.parser (Ilsk{aB;A
The org.apache.struts2.dispatcher.multipart. 0*yJ %
MultiPartRequest parser implementation for a multipart request (file upload) ir&.Z5=
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) "DpKrVuG
I$j|Rq
J-XTN"O
struts.multipart.saveDir zy>}L #
The directory to use for storing uploaded files .8H}Lf\
设置存储上传文件的目录夹 (0C&z/
UA(;fZ@
struts.objectFactory s
MZ[d\
The com.opensymphony.xwork2.ObjectFactory implementation class *eGM7o*\X
com.opensymphony.xwork2.ObjectFactory接口(spring) 1exfCm
XwPx9+b6j
struts.objectFactory.spring.autoWire 9XOyj5
Whether Spring should autoWire or not <L&eh&4c
是否自动绑定Spring BX3lPv
mx}E$b$<CY
struts.objectFactory.spring.useClassCache z_l. V/G)
Whether Spring should use its class cache or not *U_oao
是否spring应该使用自身的cache &J(!8y*QyE
!G+u j(
struts.objectTypeDeterminer :-Wv>V\t
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8&.-]{Z
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 JXm?2/
XeU<^ [
struts.serve.static.browserCache Kz[BB@[
If static content served by the Struts filter should set browser caching header properties or not #{,h@g}W
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 KY+]RxX
o0`q#>7!_b
struts.serve.static rBfg*r`)
Whether the Struts filter should serve static content or not GAp!nix6h
是否struts过滤器应该提供静态内容 LdEE+"Jw
#U@| J}a
struts.tag.altSyntax t?3BCm$Mi
Whether to use the alterative syntax for the tags or not VGZ6
是否可以用替代的语法替代tags qd(hQsfqYU
|M E{gy`5
struts.ui.templateDir w1i?#!|
The directory containing UI templates )eR$:uO
UI templates的目录夹 x)R0F\_
?v.Gn9Z&
struts.ui.theme woau'7}XOu
The default UI template theme
9p*-?kPb
默认的UI template主题 xR}of"
'vlrc[|/
struts.url.http.port q[c Etp28h
The HTTP port used by Struts URLs N^J*!]|
设置http端口 r/Dd&x
(}~ucI<~
struts.url.https.port X9~p4ys9{
The HTTPS port used by Struts URLs {^m5#f 0"
设置https端口 P(;Mb{
]o*$h$? s
struts.url.includeParams ) 4ncutb
The default includeParams method to generate Struts URLs O<X
)p`,`
在url中产生 默认的includeParams 38wq (
5i9Ub|!P
w-FHhf
struts.velocity.configfile ]^'ZiyJX
The Velocity configuration file path Q52bh'cuU
velocity配置文件路径 kzi|$Gs<