struts2的struts.properties配置文件详解 4Ay`rG
TXJY2J*24
struts.action.extension c.8((h/
The URL extension to use to determine if the request is meant for a Struts action lsB9;I^+x
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 1]
%W\RHxo
/K,|k
EE'n
struts.configuration Cl t5
The org.apache.struts2.config.Configuration implementation class Wm$`ae
org.apache.struts2.config.Configuration接口名 6@?aVM~
ovDJ{3L6O
struts.configuration.files t8DL9RW'
A list of configuration files automatically loaded by Struts &>W (l.
struts自动加载的一个配置文件列表 LmXF`Y$
xMNNXPz(
struts.configuration.xml.reload vcw>v={x
Whether to reload the XML configuration or not A{aw<
P|+
是否加载xml配置(true,false) (aJP: ^
:>P4L,Da]
struts.continuations.package 8Q^6ibE
The package containing actions that use Rife continuations *,W!FxJ
含有actions的完整连续的package名称 5oU`[&=Ob
9|N"@0<B
struts.custom.i18n.resources R81{<q'%X
Location of additional localization properties files to load Qst
\b8,
加载附加的国际化属性文件(不包含.properties后缀) crJ7pe9
f2O*8^^Y{Q
struts.custom.properties qY$*#*Q
Location of additional configuration properties files to load ?E+:]j_
加载附加的配置文件的位置 O}K_l1
-t@y\vZF,
b W=.K>|
struts.devMode WxVn&c\
Whether Struts is in development mode or not
':4}O#
是否为struts开发模式 &o*s !u
&c!j`86y*
struts.dispatcher.parametersWorkaround j\`EUC
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic [lNqT1%]
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Lj&1K~U
n5Nan
struts.enable.DynamicMethodInvocation :DdBn.
Allows one to disable dynamic method invocation from the URL ]6t]m2~\
允许动态方法调用 k_D4'(V:b
~K~b`|1
struts.freemarker.manager.classname qIbg
4uE
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~A`&/U
org.apache.struts2.views.freemarker.FreemarkerManager接口名 HzRX$IKB3(
?Oy'awf_
struts.i18n.encoding gppBFS
The encoding to use for localization messages bp]^EVx
国际化信息内码 t&GA6ML#s
9VoDhsKk
struts.i18n.reload `z|=~
Whether the localization messages should automatically be reloaded r}/yi
是否国际化信息自动加载 ;wij}y-6
Em e'Gk
struts.locale Sl3KpZ
The default locale for the Struts application [3O^0-:6E
默认的国际化地区信息 $Wit17j
0U82f1ei
struts.mapper.class cGgM8
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }>MP{67Dm
org.apache.struts2.dispatcher.mapper.ActionMapper接口 tcBC!_vF
xS6(K
struts.multipart.maxSize aO8ch
The maximize size of a multipart request (file upload) ]y3pE}R
multipart请求信息的最大尺寸(文件上传用) #TMm#?lC
B4]AFRI
struts.multipart.parser ,CJAzGBS
The org.apache.struts2.dispatcher.multipart. 4. 1rJa
MultiPartRequest parser implementation for a multipart request (file upload) GWF/[%
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) qbS'|--wH
&/Eg2
QS3U)ZO$@
struts.multipart.saveDir ]43al f F#
The directory to use for storing uploaded files g%`i=s&N%
设置存储上传文件的目录夹 d"#gO,H0
Y,k(#=wg
struts.objectFactory
-Y*VgoK%
The com.opensymphony.xwork2.ObjectFactory implementation class u~s
Sk
com.opensymphony.xwork2.ObjectFactory接口(spring) .z=U= _e
weNzYMf%
struts.objectFactory.spring.autoWire s%eyW _
Whether Spring should autoWire or not 0B=[80K;8
是否自动绑定Spring aSc{Ft/O
9YR]+*
struts.objectFactory.spring.useClassCache P DRnW
Whether Spring should use its class cache or not ePf+[pV3
是否spring应该使用自身的cache Dc08D4
&J8Z@^
struts.objectTypeDeterminer hf;S]8|F
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Q*]$)D3n
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6}ce1|mkg/
}$o*
struts.serve.static.browserCache 1hl]W+9
If static content served by the Struts filter should set browser caching header properties or not HbcOTd)=5
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0y)}.'
o4$Ott%Wm
struts.serve.static :6XguU
Whether the Struts filter should serve static content or not R)ERxz#
是否struts过滤器应该提供静态内容 w{pUUo:<
<lUOJV{&\
struts.tag.altSyntax _`H.h6h
Whether to use the alterative syntax for the tags or not >D 97c|?c
是否可以用替代的语法替代tags <"W?<VjO
[+;qWfs B
struts.ui.templateDir ))!Bg?t-
The directory containing UI templates #Mh{<gk%ax
UI templates的目录夹 X*i/A<Y`=
!)N|J$FU
struts.ui.theme dd]?9
The default UI template theme O7%2v@j|8
默认的UI template主题 >*I N
*n8%F9F
struts.url.http.port 7W"/N#G
The HTTP port used by Struts URLs x<)G( Xe*
设置http端口 }^9]jSq5
l71gf.4g
struts.url.https.port BT]ua]T+
The HTTPS port used by Struts URLs 0o;O`/x
设置https端口 !=3Rg-'d1
Guh%eR'Wt
struts.url.includeParams rz6uDJ"
The default includeParams method to generate Struts URLs {@gAv!
在url中产生 默认的includeParams \#CM
<%
Mi ; glm
wJgX/W
struts.velocity.configfile Z%m-HE:k
The Velocity configuration file path -D^L}b
velocity配置文件路径 !22yvT.;[
SyO79e*t
struts.velocity.contexts h{k_6ym
List of Velocity context names 'n0 .#E_
velocity的context列表 d6`OXTD
3\AM=`
.e@>
struts.velocity.manager.classname 9Y/L?km_(
org.apache.struts2.views.velocity.VelocityManager implementation class ,vV]"f
org.apache.struts2.views.velocity.VelocityManager接口名 .x!T+`l>8I
6k"P&AD
struts.velocity.toolboxlocation IS BV%^la|
The location of the Velocity toolbox V }>n
velocity工具盒的位置 RsW9:*R
struts.xslt.nocache Rs*vm
Whether or not XSLT templates should not be cached $<|ocUC7
是否XSLT模版应该被缓存 {^5?)/<