struts2的struts.properties配置文件详解 gPA),
NrN
/8s+eHn&%
struts.action.extension /4 Q^L>a
The URL extension to use to determine if the request is meant for a Struts action PrZs@ Y
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 'TdO6-X
k`u:Cz#aB
struts.configuration X
(0`"rjg
The org.apache.struts2.config.Configuration implementation class L{i,.aE/nO
org.apache.struts2.config.Configuration接口名 [=otgVteN"
|Nfi y
struts.configuration.files U`-]U2"
A list of configuration files automatically loaded by Struts qFpRY7eq
struts自动加载的一个配置文件列表 B(z?IW&
o`EL)K{
struts.configuration.xml.reload <-3_tu>l
Whether to reload the XML configuration or not GK>. R<[
是否加载xml配置(true,false) iW\Q>~0#_
kzUP
struts.continuations.package K9@F1ccQ/
The package containing actions that use Rife continuations ]-7$wVQ<
含有actions的完整连续的package名称 <"SOH;w
/2&:sHWW
struts.custom.i18n.resources chQCl3&e^
Location of additional localization properties files to load FVw4BUOmi
加载附加的国际化属性文件(不包含.properties后缀) :v(fgS2\
=Ll:Ba Q
struts.custom.properties ]a
,H!0i
Location of additional configuration properties files to load VuiK5?m
加载附加的配置文件的位置 `62iW3y
~|>q)4is6a
!-OPzfHrI
struts.devMode 'Drz6K_KrP
Whether Struts is in development mode or not kM>Bk\
是否为struts开发模式 {)c2#h
42If/N?
struts.dispatcher.parametersWorkaround c[n4{q1
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7E}.P1
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6(9S'~*'R
}r)T75_1
struts.enable.DynamicMethodInvocation q7!$-
Allows one to disable dynamic method invocation from the URL Oosr`e@S
允许动态方法调用 k|-P&g
"PI]k
struts.freemarker.manager.classname 6(FkcC$G
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class q!sazVaDp
org.apache.struts2.views.freemarker.FreemarkerManager接口名 =D@+_7\?
SCUsDr+.
struts.i18n.encoding &E(KOfk#
The encoding to use for localization messages |hlc#t?
国际化信息内码 ];n3H~2
7[)IP:I>
struts.i18n.reload R54wNm@
Whether the localization messages should automatically be reloaded
Q9!T@
是否国际化信息自动加载 ]l~TI8gC
S{sJX5R;
struts.locale -#e3aXe
The default locale for the Struts application $^ wqoW%t
默认的国际化地区信息 "G+g(?N]j
qVpV ZH!
struts.mapper.class F"?OLV1B&
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @S%ogZz*m
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Z fQzA}QD
uq~Z
struts.multipart.maxSize lebwGW,!
The maximize size of a multipart request (file upload) !i`HjV0wS
multipart请求信息的最大尺寸(文件上传用) @'Y^A
s_j ?L
struts.multipart.parser X:ck
The org.apache.struts2.dispatcher.multipart. 5R?[My
MultiPartRequest parser implementation for a multipart request (file upload) @Ft\~ +}
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ac'0
ST*\ Q
=gYKAr^p5
struts.multipart.saveDir 1F*3K3T {
The directory to use for storing uploaded files cKb jW
设置存储上传文件的目录夹 X/8CvY#n
Bj-80d,
struts.objectFactory _$oN"pj
The com.opensymphony.xwork2.ObjectFactory implementation class l4:5(1
com.opensymphony.xwork2.ObjectFactory接口(spring) v*&WxP^Gm
VXM5
B
struts.objectFactory.spring.autoWire Uh9p,AV
Whether Spring should autoWire or not bu
j}pEI
是否自动绑定Spring 9MI~yIt`L
4=T.rVS[
struts.objectFactory.spring.useClassCache g<@P_^vo
Whether Spring should use its class cache or not ^5:xSQ@:
是否spring应该使用自身的cache 2Gw2k8g&
WlJ$p$I`
struts.objectTypeDeterminer zFn!>Tqe
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class PGE|){
<
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #2XX [d%
_~=qByD
struts.serve.static.browserCache )$.::[pNA
If static content served by the Struts filter should set browser caching header properties or not 6w )mo)<X
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {Y\W&Edw%
H2p lT
struts.serve.static d;<gwCc
Whether the Struts filter should serve static content or not V5ySOgzw,
是否struts过滤器应该提供静态内容 T=NF5kj-=
</.9QV
struts.tag.altSyntax mn>$K"_k
Whether to use the alterative syntax for the tags or not ~g6`Cp`
是否可以用替代的语法替代tags !b=jD;<
)yOdRRP
struts.ui.templateDir 9HtzBS
The directory containing UI templates \Y4>_Mk
UI templates的目录夹 yqY nd<K4
b `7vWyp
struts.ui.theme Al0
i{.V
The default UI template theme '#;%=+=;
默认的UI template主题 ;$\?o
GmONhh(k
struts.url.http.port #D qVh!t"
The HTTP port used by Struts URLs P Tc@MH)
设置http端口 h^)R}jy+f
YEbB3N
struts.url.https.port hhqSfafUX
The HTTPS port used by Struts URLs vjzpU(Sq#
设置https端口 vz[-8 m:f
e\[z Q
2Z3
struts.url.includeParams E/OJ}3Rf
The default includeParams method to generate Struts URLs -$;
h+9BO
在url中产生 默认的includeParams b,k%n_&n
e
Qz_,vTk
? 0}M'L
struts.velocity.configfile >E9:3&[F
The Velocity configuration file path gcy'"d"
velocity配置文件路径 B*zR/?U^
l$1z%|I
struts.velocity.contexts !'
D1aea5
List of Velocity context names JFJ_
PphvD
velocity的context列表 z`?{5v -Qs
`ZC{<eVJ}=
#JOWiO0>
struts.velocity.manager.classname D.i(Irqw!
org.apache.struts2.views.velocity.VelocityManager implementation class BkH- d z
org.apache.struts2.views.velocity.VelocityManager接口名 &7}\mnhB
G<5i %@
struts.velocity.toolboxlocation
x=/`W^t2
The location of the Velocity toolbox l\?HeVk^
velocity工具盒的位置 kvdiDo
struts.xslt.nocache Zgw;AY.R>
Whether or not XSLT templates should not be cached 7eM:YqT/#
是否XSLT模版应该被缓存 s y ]k