struts2的struts.properties配置文件详解 @N'n>8Wn
(P>nA3:UXB
struts.action.extension u=`H n-(
The URL extension to use to determine if the request is meant for a Struts action .1QGNW
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,0'GHQWz$
%G?@Hye3
struts.configuration d3%qYL_+a
The org.apache.struts2.config.Configuration implementation class Y,L`WeQY.
org.apache.struts2.config.Configuration接口名 4P{|H
c~|(j \FI
struts.configuration.files !Vpi1N\
A list of configuration files automatically loaded by Struts )k<cd.MX
struts自动加载的一个配置文件列表 U1`5P!ov
7H
H
struts.configuration.xml.reload ~E}kwF
Whether to reload the XML configuration or not %0\@\fC41
是否加载xml配置(true,false) V 6}5^W
6@]o,O
struts.continuations.package $q!A1Fgk0
The package containing actions that use Rife continuations kUBE+a6#
含有actions的完整连续的package名称 ?<Qbp;WBo
q ` S
~w
struts.custom.i18n.resources .G/Rh92
Location of additional localization properties files to load vG |!d+
加载附加的国际化属性文件(不包含.properties后缀) z']6C9m}
xj5TnE9^
struts.custom.properties }n)0}U5;0
Location of additional configuration properties files to load fy+5i^{=
加载附加的配置文件的位置 /*C!]Z>.
UiU/p
C T~6T&'
struts.devMode T!/o^0w
Whether Struts is in development mode or not "LlpZtw
是否为struts开发模式 NKY|Z\
n6Oz[7M
struts.dispatcher.parametersWorkaround B>{%$@4
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic (l5p_x
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ^^q&VL
~cU1
/CW8
struts.enable.DynamicMethodInvocation d+n2
c`i
Allows one to disable dynamic method invocation from the URL #p+iwW-
允许动态方法调用 HDm]njF%qQ
Y e0,0Fpw
struts.freemarker.manager.classname lpi"@3
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ED0cnr\yG
org.apache.struts2.views.freemarker.FreemarkerManager接口名 S5>s&
!~
o%KQt
struts.i18n.encoding [$3+5K#
The encoding to use for localization messages 2V~E
<K-
国际化信息内码 Om.%K>V
/gAT@Vx
struts.i18n.reload ^f[6NYS?
Whether the localization messages should automatically be reloaded 0E\#!L
是否国际化信息自动加载 7_~sa{1R.
D:`Q\za
struts.locale Mi]^wCF
The default locale for the Struts application
$ (}rTm
默认的国际化地区信息 w_"d&eYdg0
`2>p#`
struts.mapper.class f
)Lcs
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |JkfAnrN$I
org.apache.struts2.dispatcher.mapper.ActionMapper接口 9hr7+fW]t
*eg0^ByeD
struts.multipart.maxSize "DN,1Q
lCp
The maximize size of a multipart request (file upload) _2KIe(,;
multipart请求信息的最大尺寸(文件上传用) 'Agw~
&$
%g:Q?
struts.multipart.parser c5p,~z_Dtu
The org.apache.struts2.dispatcher.multipart. {@X>!]
MultiPartRequest parser implementation for a multipart request (file upload) j$T12
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) AojL4H|
y\v#qFVOZ
Y:CX RU6eD
struts.multipart.saveDir l8~(bq1
The directory to use for storing uploaded files izSX
设置存储上传文件的目录夹 ~vTwuc\(H
Z/,R{Jgt"
struts.objectFactory #91^1jyMf
The com.opensymphony.xwork2.ObjectFactory implementation class yPE3Awh5
com.opensymphony.xwork2.ObjectFactory接口(spring) U\%r33L )
RUY7Y?
struts.objectFactory.spring.autoWire O=__w *<
Whether Spring should autoWire or not ")KqPD6k
是否自动绑定Spring !-M Y<'
`BmnXWMgx
struts.objectFactory.spring.useClassCache 3cHYe
Whether Spring should use its class cache or not hh4R
是否spring应该使用自身的cache a!R*O3
L9jT:2F
struts.objectTypeDeterminer ]9_gbQ
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class eipg,EI
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +-tFg XG
pW+uVv,
struts.serve.static.browserCache 8SpG/gl"
If static content served by the Struts filter should set browser caching header properties or not { <Gyjq
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;PaU"z+Je~
NU=2*gM
struts.serve.static rp\`uj*D
Whether the Struts filter should serve static content or not 1v&!%9
是否struts过滤器应该提供静态内容 !4Aj#`)
k, N{
struts.tag.altSyntax F]M-r{
Whether to use the alterative syntax for the tags or not "R5G^-<hp
是否可以用替代的语法替代tags YM`T"`f
S ,F[74K
struts.ui.templateDir ?OW!D?
The directory containing UI templates g} !{_z
UI templates的目录夹 \me5"ZU
-]wEk%j
struts.ui.theme )l9KDObis
The default UI template theme ECt<\h7}
默认的UI template主题 OPN\{<`*d
kNK0KL
struts.url.http.port =F|9ac9X
The HTTP port used by Struts URLs j-d&4,a:c
设置http端口 o2dO\$'
7;+G)44
struts.url.https.port Hc\C0V<
The HTTPS port used by Struts URLs UYxn?W.g
设置https端口 SY|K9$M^
eL~xS: VT
struts.url.includeParams 'IY?=#xr'`
The default includeParams method to generate Struts URLs \ Bj{.jL
在url中产生 默认的includeParams e1g3a1tnWl
/4O))}TX
WowT!0$
struts.velocity.configfile $y6 <2w%b
The Velocity configuration file path U;/2\Ii
velocity配置文件路径
!p$p 7
_<RTes
struts.velocity.contexts PR5N:Bw
List of Velocity context names | Uics:cQC
velocity的context列表 {C&Uq#V
1UK= t
"dP-e
struts.velocity.manager.classname tC|?Kl7
org.apache.struts2.views.velocity.VelocityManager implementation class g"748LY>=p
org.apache.struts2.views.velocity.VelocityManager接口名 N&
`Pc6
G*p
struts.velocity.toolboxlocation :pM8Q1:B
The location of the Velocity toolbox JXL?.{'A
velocity工具盒的位置 E"9(CjbQ[
struts.xslt.nocache \(Oc3+n6
Whether or not XSLT templates should not be cached HL&HY)W1gf
是否XSLT模版应该被缓存 0)SRLHTY%