struts2的struts.properties配置文件详解 7eq.UyUxs
>
X
AB#
struts.action.extension =x w:@(]{
The URL extension to use to determine if the request is meant for a Struts action 'tTlBf7#
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Db2#QQ
?Ho$fGz
struts.configuration fXevr `
The org.apache.struts2.config.Configuration implementation class h`fZ8|yw
org.apache.struts2.config.Configuration接口名 "Io-%Su+
NTJ,U2
struts.configuration.files S?t
`/"O
A list of configuration files automatically loaded by Struts vasw@Uto)
struts自动加载的一个配置文件列表 toF6 Z
'NWvQR<X
struts.configuration.xml.reload bY`Chb.
Whether to reload the XML configuration or not |\B\IPs{%'
是否加载xml配置(true,false) L\Oxyi<{
akw:3+`
struts.continuations.package \yymp70w
The package containing actions that use Rife continuations %|@?)[;
含有actions的完整连续的package名称 R(Vd[EGY
_6FDuCVD-
struts.custom.i18n.resources *RkvM?o@jC
Location of additional localization properties files to load ~=wBF
加载附加的国际化属性文件(不包含.properties后缀) ,hK
=x
mp3 Dc
struts.custom.properties 7TAoWD3
Location of additional configuration properties files to load a
w~a/T:
加载附加的配置文件的位置 'PMzm/;8st
;$a|4_U$m
l$BKE{rg
struts.devMode 3!;o\bgK
Whether Struts is in development mode or not *y"|/_
*
是否为struts开发模式 ivdPF dJ
}J5iY0
struts.dispatcher.parametersWorkaround /x-tl)(s=
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ICo Z<;p
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &m(eMX0lU
?Wt_Obl
struts.enable.DynamicMethodInvocation Rpcnpo
Allows one to disable dynamic method invocation from the URL 2b
{Y1*
允许动态方法调用 EI9Yv>7 d{
\l6mXIn=>
struts.freemarker.manager.classname ~$a%& ]\
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class K6<1&
org.apache.struts2.views.freemarker.FreemarkerManager接口名 w*SF Q_6YE
#l2WRw_t
struts.i18n.encoding bVRxGn @l
The encoding to use for localization messages h\-jqaq
国际化信息内码 0g#?'sD
QqY42hR
struts.i18n.reload 'U`I
Whether the localization messages should automatically be reloaded DF#WQ8?$]
是否国际化信息自动加载 9DXu*}
]:^kw$
struts.locale d@|j>Z
The default locale for the Struts application '9wD+'c=A
默认的国际化地区信息 s|!b: Ms`
BJ/#V)
struts.mapper.class `~t$k7wm=
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class WY~}sE
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ,KibP_<%&P
\b88=^
struts.multipart.maxSize 8&f"")m
The maximize size of a multipart request (file upload) $0iN43WSQ
multipart请求信息的最大尺寸(文件上传用) Q;$/&Y*
ZoC?9=k
struts.multipart.parser ;Wr,VU]
The org.apache.struts2.dispatcher.multipart. q14A'XW
MultiPartRequest parser implementation for a multipart request (file upload) UE\@7
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ]*;+ U6/?
"=!QSb
{&(bKQ
struts.multipart.saveDir ]O&A:Us
The directory to use for storing uploaded files Ip0@Q}^
设置存储上传文件的目录夹 ;v+CQx
OEGAwP?F
struts.objectFactory oB Bdk@
The com.opensymphony.xwork2.ObjectFactory implementation class ELNA-ZKp
com.opensymphony.xwork2.ObjectFactory接口(spring) WU,72g=
$t</{]iX
struts.objectFactory.spring.autoWire qXW2a'~
Whether Spring should autoWire or not B
9]sSx
是否自动绑定Spring !r!Mq~X<=
7!N5uR
struts.objectFactory.spring.useClassCache CM's6qhQnn
Whether Spring should use its class cache or not )@`w^\E_~_
是否spring应该使用自身的cache 1y8:tri>N
tT#Q`cB
struts.objectTypeDeterminer \ZDT=?
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &FvNz
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 lB\j>.c
?y45#Tk]
struts.serve.static.browserCache Q}Vho.N@=
If static content served by the Struts filter should set browser caching header properties or not !%M-w0vC9
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 :U[_V4?7
E 0pF; P5
struts.serve.static ;%z0iZmg
Whether the Struts filter should serve static content or not f,a4LF
是否struts过滤器应该提供静态内容 o_*|`E
WE~3(rs#X#
struts.tag.altSyntax N$,)vb<
Whether to use the alterative syntax for the tags or not O-2H!58$)
是否可以用替代的语法替代tags }w]xC
+`Bn]e8O
struts.ui.templateDir n_ez6{
The directory containing UI templates GRV9s9^
UI templates的目录夹 :3n.nKANr
a@r K%Iff
struts.ui.theme tw3d>H`
The default UI template theme 'IW+"o
默认的UI template主题 kWz%v
=<_5gR
struts.url.http.port 1k%ko?
The HTTP port used by Struts URLs Yh%wf3
UEO
设置http端口 *wF:Q;_<z
g4$%)0x%
struts.url.https.port Zz&i0r
The HTTPS port used by Struts URLs 0De M
设置https端口 mVL,J=2
< 5_Ys
struts.url.includeParams 9FLn7Y
The default includeParams method to generate Struts URLs uN(~JPAw5
在url中产生 默认的includeParams v!U# C[a^
f8^58]wx0
TgB;R5
struts.velocity.configfile PrKlwhi#
The Velocity configuration file path /#se>4]
velocity配置文件路径 NU(/Yit
h{xERIV1u
struts.velocity.contexts ?-84_i
List of Velocity context names ipp_?5TL
velocity的context列表 KE3
/<0Z
1=a}{)0h
TxCQGzqe
struts.velocity.manager.classname k"7eHSy,
org.apache.struts2.views.velocity.VelocityManager implementation class 2M#CJ&
org.apache.struts2.views.velocity.VelocityManager接口名 1DcarF
k51s*U6=
struts.velocity.toolboxlocation U?lu@5 ^Z
The location of the Velocity toolbox O]g+z$2o
velocity工具盒的位置 enz Q}^
struts.xslt.nocache eztk$o
Whether or not XSLT templates should not be cached B;~agr
是否XSLT模版应该被缓存 QPcB_wUqu