struts2的struts.properties配置文件详解 i'CK/l.H
gWjYS#D
struts.action.extension Vc(kw7
The URL extension to use to determine if the request is meant for a Struts action v2rzHzFU
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 5f_x.~ymA
q8ZxeMqx%
struts.configuration _=x*yDPG}
The org.apache.struts2.config.Configuration implementation class 851BOkRal4
org.apache.struts2.config.Configuration接口名 q/w5Dx|:
`dF~'
struts.configuration.files 6|Dtx5
"r
A list of configuration files automatically loaded by Struts [ {"x{;
struts自动加载的一个配置文件列表 R%LFFMVn
:icpPv
struts.configuration.xml.reload 7Z+Fjy-B
Whether to reload the XML configuration or not kqX%y
是否加载xml配置(true,false) pno}`Cer
]~$@x=p2e
struts.continuations.package 1
39T*0C
The package containing actions that use Rife continuations k ]gPMhe
含有actions的完整连续的package名称 U`N?<zm<oO
e`a4Gr
struts.custom.i18n.resources CUdpT$ $x3
Location of additional localization properties files to load .>,Y
|
加载附加的国际化属性文件(不包含.properties后缀) _3u3b/%J?
`Gxb98h/r
struts.custom.properties 3qGz(6w6E
Location of additional configuration properties files to load ~ecN4Oo4q;
加载附加的配置文件的位置 ?.ObHV*k
C3.]dsv:
]?}pJ28
struts.devMode +(`D'5EB(
Whether Struts is in development mode or not s`Z.H5V>\
是否为struts开发模式 G$_)X%Vb I
`"'u
mIz
struts.dispatcher.parametersWorkaround QgH{J80
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ekfa"X_
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ^Rl?)_)1HE
D:K"J><@
struts.enable.DynamicMethodInvocation %q r,Ssa/
Allows one to disable dynamic method invocation from the URL 5mVO9Qj
允许动态方法调用 YG?4DF
M-;MwLx
struts.freemarker.manager.classname Xa-TNnws?
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class u1kCvi#N
org.apache.struts2.views.freemarker.FreemarkerManager接口名 *Q2 oc:6
|$\1E+
struts.i18n.encoding ?$I9/r
The encoding to use for localization messages ,;MUXCC'
国际化信息内码 N DI4EA~z
2N(Z^
struts.i18n.reload ,d!@5d&Zi
Whether the localization messages should automatically be reloaded Qhe<(<^J,
是否国际化信息自动加载 IuFr:3(
TUGD!b{
struts.locale 82)=#ye_P
The default locale for the Struts application X ?ZLmP7|
默认的国际化地区信息 7CSn79E
,6^Xn=o #
struts.mapper.class {]|<|vc;GI
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class V]]!0ugvk(
org.apache.struts2.dispatcher.mapper.ActionMapper接口 tpzh
d/+s-g p
struts.multipart.maxSize 2_bEo
The maximize size of a multipart request (file upload) JSq3)o9?/
multipart请求信息的最大尺寸(文件上传用) LO%e1y
FwKY;^`!d
struts.multipart.parser 9A{D<h}yk
The org.apache.struts2.dispatcher.multipart. n}9<7e~/
MultiPartRequest parser implementation for a multipart request (file upload) 9I5AYa?
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) L|D9+u L
npytb*[|c
zSMM?g^T
struts.multipart.saveDir &&jQ4@m}j
The directory to use for storing uploaded files 'lEIwJV$
设置存储上传文件的目录夹 /EHO(d!<
%#EzZD
struts.objectFactory LH`$<p2''r
The com.opensymphony.xwork2.ObjectFactory implementation class 6o]{< T/'
com.opensymphony.xwork2.ObjectFactory接口(spring) ',|OoxhbK
Ma{@b$>
struts.objectFactory.spring.autoWire ETH
($$M
Whether Spring should autoWire or not y_Gs_xg
是否自动绑定Spring 2S:B%cj9m
m'G=WO*%
struts.objectFactory.spring.useClassCache <AJRU
l
Whether Spring should use its class cache or not @az<D7j2
是否spring应该使用自身的cache $6ucz'
oFt_ yU-
struts.objectTypeDeterminer h1B_*L
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class xe.f]a
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1NTx?JJfW
[(3 %$?[
struts.serve.static.browserCache 03 iy[~Y2
If static content served by the Struts filter should set browser caching header properties or not PktnjdFV
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 p.MLKp-'
KqBiF]Q
struts.serve.static } nIYNeP?D
Whether the Struts filter should serve static content or not mICx9oz]
是否struts过滤器应该提供静态内容 DP *$@5
]A\qI>,
struts.tag.altSyntax p_zVrlVb
Whether to use the alterative syntax for the tags or not V%t_,AT
是否可以用替代的语法替代tags 'F*OlZ!BWy
fS8Pi,!
struts.ui.templateDir V'za,.d-
The directory containing UI templates xrlyph5mE
UI templates的目录夹 Hit)mwfYE
z#n+iC$9
struts.ui.theme SEu:31k{o
The default UI template theme SN}3
默认的UI template主题 Xrc{wDn
wT3D9N.
struts.url.http.port S,'ekWVD
The HTTP port used by Struts URLs c8_,S[W
设置http端口 TgLr4Ex
?!c7Zx,(
struts.url.https.port o5+7Lt]
The HTTPS port used by Struts URLs $QT% -9&
设置https端口 E+ XR[p
7bVKH[
struts.url.includeParams A??a:8id^
The default includeParams method to generate Struts URLs 1?"Zrd
在url中产生 默认的includeParams \O~WMN
?}uvpB1}
\|4F?Y
struts.velocity.configfile OB+ cE4$
The Velocity configuration file path kA2)T,s74
velocity配置文件路径 HFYe@ 2r
RN&8dsreZp
struts.velocity.contexts z>=;Xe8P8n
List of Velocity context names sUkn.g!
velocity的context列表 W=#jtU`:5
gId
:IR
'Vhnio;qC
struts.velocity.manager.classname 8[
ZuVJ]
org.apache.struts2.views.velocity.VelocityManager implementation class sP9{tk2K
org.apache.struts2.views.velocity.VelocityManager接口名 . 7Pp'-hK
DU5rB\!.~
struts.velocity.toolboxlocation Y{t}sO%A
The location of the Velocity toolbox _? $')P|
velocity工具盒的位置 z,!A4ws
struts.xslt.nocache G!D~*B9G
Whether or not XSLT templates should not be cached ]r#NjP
是否XSLT模版应该被缓存 96gaun J