struts2的struts.properties配置文件详解 VkmRh,T
8pZ<9t'
struts.action.extension Xg<[fwW
The URL extension to use to determine if the request is meant for a Struts action ~fN%WZ;_
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 UV7%4xM5v
"u^EleE!
struts.configuration m$Y
:0_^-
The org.apache.struts2.config.Configuration implementation class X!,@j\L
org.apache.struts2.config.Configuration接口名 P~C rtTss
pJpNO$$w
struts.configuration.files Gy29MUF
A list of configuration files automatically loaded by Struts Q%ad q-B
struts自动加载的一个配置文件列表 5OLQw(E
$ACx*e%
struts.configuration.xml.reload "l~Ci7& !a
Whether to reload the XML configuration or not |cbd6e{!
是否加载xml配置(true,false) ,32xcj}j)r
f|3q^wjs
struts.continuations.package N_wp{4 0/
The package containing actions that use Rife continuations ks(SjEF
含有actions的完整连续的package名称 Ws[D{dS/
a=}*mF[ug
struts.custom.i18n.resources wGKo.lt
Location of additional localization properties files to load +=@ ^i'
加载附加的国际化属性文件(不包含.properties后缀) '"YYj$>
'
7v~j=Z>
struts.custom.properties 'VnwG
Location of additional configuration properties files to load Ggm` ~fS
加载附加的配置文件的位置 -$8.3\6h
L_O$>c
7_jE[10
struts.devMode mX# "+X|
Whether Struts is in development mode or not 6Z:YT&,f
是否为struts开发模式 C0)Z6
*7gT}O;p 5
struts.dispatcher.parametersWorkaround u:P~j
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |^n3{m
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) !>.vh]8g
nS.G~c|
struts.enable.DynamicMethodInvocation /MTf0^9
Allows one to disable dynamic method invocation from the URL Fe=8O ^\
允许动态方法调用 qt?*MyfV
?Hz2-Cn
struts.freemarker.manager.classname &_-](w`
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class L K7Xw3
org.apache.struts2.views.freemarker.FreemarkerManager接口名 , |E$'
HxwlYx,4
struts.i18n.encoding $xW**&
The encoding to use for localization messages |Fln8wB
国际化信息内码 :-+4:S
S'i;xL>
struts.i18n.reload kT oOIx
Whether the localization messages should automatically be reloaded b Y8GA
是否国际化信息自动加载 M?&zY
"c
Buc_9Kzw<+
struts.locale 19u =W(
The default locale for the Struts application UPh=+s #Q
默认的国际化地区信息 D,;\F,p
+++pI.>(*Q
struts.mapper.class 649 !=
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7k8n@39?
org.apache.struts2.dispatcher.mapper.ActionMapper接口 j~av\SCU*
VV3}]GjC
struts.multipart.maxSize QTJu7^O9
The maximize size of a multipart request (file upload) JJk#,AP
multipart请求信息的最大尺寸(文件上传用) a:!uORQby
pa/9F[
struts.multipart.parser /XpSe<3
The org.apache.struts2.dispatcher.multipart. C3 ;[e0.1b
MultiPartRequest parser implementation for a multipart request (file upload) UZxmhsv
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) [~%`N*G
&w\I<J`T
yXfMzG
struts.multipart.saveDir
P'[<AZ
The directory to use for storing uploaded files m#@_8_ M
设置存储上传文件的目录夹 H#(<-)j0_
"ED8z|]j
struts.objectFactory :{}_|]>K
The com.opensymphony.xwork2.ObjectFactory implementation class ';YgG<u
com.opensymphony.xwork2.ObjectFactory接口(spring) D'i6",Z>
!$xu(D.
struts.objectFactory.spring.autoWire Eu<r$6Q0}o
Whether Spring should autoWire or not {w5Z7s0
是否自动绑定Spring vgG}d8MW37
;)/@Xx
struts.objectFactory.spring.useClassCache J\`^:tcG
Whether Spring should use its class cache or not K&`Awv
是否spring应该使用自身的cache ohZx03
x7ATI[b[
struts.objectTypeDeterminer NPU^)B
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class S7sb7c'4 k
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Uene=Q6>
9%,;XQ
struts.serve.static.browserCache &9 B_/m3
If static content served by the Struts filter should set browser caching header properties or not @)0 Y~A )
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 uH{'gd,q8
5w3Fqu>39?
struts.serve.static 78Y@OL_$
Whether the Struts filter should serve static content or not h8v>zNf'
是否struts过滤器应该提供静态内容 rG6\ynBX%
Jq1 n0O
struts.tag.altSyntax >{&A%b4JF
Whether to use the alterative syntax for the tags or not mnQ'X-q3iO
是否可以用替代的语法替代tags 4F#%f#"
R}%8s*
struts.ui.templateDir 8F6h#%9
The directory containing UI templates ^#SBpLw
UI templates的目录夹 zy)i1d
_wu*M
struts.ui.theme P[i\e7mR
The default UI template theme 2P}I'4C-
默认的UI template主题 |rPAC![=
`BT^a
=5
struts.url.http.port )U98
The HTTP port used by Struts URLs aqL<v94wX
设置http端口 YKx 1NC
[MmM 9J["
struts.url.https.port g9V.13k
The HTTPS port used by Struts URLs 5'
\)`
设置https端口 Y3oMh,
i?>Hr|
struts.url.includeParams *\q8BZ
The default includeParams method to generate Struts URLs rg)h5G
在url中产生 默认的includeParams #+G`!<7/@f
}~zO+Wf2
[m#NfA:h,
struts.velocity.configfile xs1bxJ_R
The Velocity configuration file path kK?zVH-!
velocity配置文件路径 9k`~x1Y)
"$@,n7k
struts.velocity.contexts \y~)jq:d"
List of Velocity context names 42@a(#z(U
velocity的context列表 fValSQc!U
$
I<|-]u
uPU#c\
struts.velocity.manager.classname d]7*mzw^j
org.apache.struts2.views.velocity.VelocityManager implementation class SaNN;X0
org.apache.struts2.views.velocity.VelocityManager接口名 CA^.?&CH^O
Je~p%m#e;K
struts.velocity.toolboxlocation P(_(w
9
The location of the Velocity toolbox 2Ow<`[7
velocity工具盒的位置 a<p
%hY3
struts.xslt.nocache +Jq`$+%C
Whether or not XSLT templates should not be cached q$ >_WF#||
是否XSLT模版应该被缓存 cjT[P"5$