struts2的struts.properties配置文件详解 7Bd-!$j+
IHv[v*4:
struts.action.extension 8b;1FQ'
The URL extension to use to determine if the request is meant for a Struts action f@|A[>"V
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6"&6`f
"ozr+:#\
struts.configuration t^G"f;Ra+
The org.apache.struts2.config.Configuration implementation class &keR~~/
org.apache.struts2.config.Configuration接口名 eEv@}1~
`ux{;4q
struts.configuration.files I7n"&{s"*
A list of configuration files automatically loaded by Struts (<xfCH
F5
struts自动加载的一个配置文件列表 EWkLXU6t
@a0DT=>dT
struts.configuration.xml.reload Ni-xx9)=
Whether to reload the XML configuration or not U`NjPZe5^
是否加载xml配置(true,false) '9
[vDG~
%D%8^Zd_
struts.continuations.package a C\MJ9
The package containing actions that use Rife continuations -7@/[9Gf`:
含有actions的完整连续的package名称 zGkS^Z=(
|8l<$J
struts.custom.i18n.resources _C*fs<#
Location of additional localization properties files to load @] DVD
加载附加的国际化属性文件(不包含.properties后缀) nz=GlO'[
q(.sq12<<W
struts.custom.properties 3 09hn
Location of additional configuration properties files to load FE (ev 9@
加载附加的配置文件的位置 i/`m`qdg
#Oc]
@
'mFqEn
struts.devMode RbP6F*f
Whether Struts is in development mode or not '}Z~JYa0
是否为struts开发模式 ~O
oidKT
$Y/9SV,
struts.dispatcher.parametersWorkaround 26I_YL,S
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic W_\5nF
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) i%#+\F.&
[ 0KlC1=
struts.enable.DynamicMethodInvocation UU;(rS/
Allows one to disable dynamic method invocation from the URL J\:R|KaP<p
允许动态方法调用 7WkB>cn
[6%VRqY
struts.freemarker.manager.classname ^cP!\E-^
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;Q OBBF3HG
org.apache.struts2.views.freemarker.FreemarkerManager接口名 g"p%C:NN
4~Vx3gEV:
struts.i18n.encoding i]YV {
The encoding to use for localization messages %,}A@H,
国际化信息内码 -w}]fb2Q>
C'.L20qW
struts.i18n.reload z"-u95H
Whether the localization messages should automatically be reloaded *
KDI}B>
是否国际化信息自动加载 r%yvOF\>
~=6xyc/c
struts.locale CYs,`
The default locale for the Struts application fzb29 -
默认的国际化地区信息 93("oBd[s(
[65`$x-
struts.mapper.class p.v0D:@&
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Q kEvw<
org.apache.struts2.dispatcher.mapper.ActionMapper接口 `1$@|FgyC
mS$j?>m
struts.multipart.maxSize tl,.fjZn
The maximize size of a multipart request (file upload) A@1W}8qY:
multipart请求信息的最大尺寸(文件上传用) bLij7K2H
Z<1FSk,[
struts.multipart.parser "U>JM@0DNm
The org.apache.struts2.dispatcher.multipart. 0WZ_7C?
MultiPartRequest parser implementation for a multipart request (file upload) -Ta9 pxZk
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Xqg@ e:g
Ce9|=Jx!
"GMBjT8
struts.multipart.saveDir P;=n9hgHI
The directory to use for storing uploaded files B}Z63|/N
设置存储上传文件的目录夹 MDhRR*CBh
|:q=T
~x
struts.objectFactory 8<S~Z:JK
The com.opensymphony.xwork2.ObjectFactory implementation class lYVz3p
com.opensymphony.xwork2.ObjectFactory接口(spring) %Gz0^[+
)t0$qd ]
struts.objectFactory.spring.autoWire ZkRx1S"m
Whether Spring should autoWire or not rzhWw-GY
是否自动绑定Spring J%v=yBC2
z;{iM/Xe
struts.objectFactory.spring.useClassCache %p^wZtm
Whether Spring should use its class cache or not 8=B|C'>
是否spring应该使用自身的cache :DrWq{4
`w#Oih!6A|
struts.objectTypeDeterminer [R(`W#W
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Y!~49<;
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $+8cc\fq
0=@?ob7
struts.serve.static.browserCache bv]`!g:
C
If static content served by the Struts filter should set browser caching header properties or not S!jTyY7e
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /32Fy`KV
"CSsCA$/
struts.serve.static A-Sv;/yD_
Whether the Struts filter should serve static content or not QUq_:t+Dv
是否struts过滤器应该提供静态内容 h58`XH
D.B.7-_8
struts.tag.altSyntax s@&`f{
Whether to use the alterative syntax for the tags or not 'y;EhOwj,
是否可以用替代的语法替代tags sT 3^hY7
-BrMp%C
struts.ui.templateDir _E &A{HkJ
The directory containing UI templates `18qbot
UI templates的目录夹 [;4g
m,*QP*
struts.ui.theme \\PjKAsh
The default UI template theme $UMFNjL
默认的UI template主题 [w>$QR
1-%fo~!l
struts.url.http.port s:>VaGC
The HTTP port used by Struts URLs ~("5yG
设置http端口 \rx3aJl
1->dMm}G[
struts.url.https.port jqWu
The HTTPS port used by Struts URLs *g:4e3Iy
设置https端口 Fsmycr!R
I
WTwz!+
struts.url.includeParams lGV0*Cji
The default includeParams method to generate Struts URLs q.KG^=10
在url中产生 默认的includeParams `YFtL
^W`<gR
oRm L
{UDZ
struts.velocity.configfile 0LPig[
The Velocity configuration file path 5gb|w\N>
velocity配置文件路径 v~f HYa>
YZL kL26[
struts.velocity.contexts .f*4T4eR-
List of Velocity context names _Zp}?b5Q
velocity的context列表 [;r)9mh7
1t:Q_j0Ym
WKts[Z
struts.velocity.manager.classname bZnuNYty75
org.apache.struts2.views.velocity.VelocityManager implementation class ^nT/i
.#_
org.apache.struts2.views.velocity.VelocityManager接口名 e}D3d=6`
S@jQX
struts.velocity.toolboxlocation dbwe?ksh
The location of the Velocity toolbox :8L8q<U
velocity工具盒的位置 Ff$L|
struts.xslt.nocache AsQ)q
Whether or not XSLT templates should not be cached ?x$"+,
是否XSLT模版应该被缓存 i2@VB6]?