struts2的struts.properties配置文件详解 -s3q(SH
UWXl
c
struts.action.extension ?2(52?cJ
The URL extension to use to determine if the request is meant for a Struts action %~e+H|
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Tv[|^G9x
ohJo1}{
struts.configuration ?<;9=l\Q
The org.apache.struts2.config.Configuration implementation class WWEZTFL:j
org.apache.struts2.config.Configuration接口名 #}p@+rkg2
G+~f
struts.configuration.files .IU\wN
A list of configuration files automatically loaded by Struts W(jOD,QMB
struts自动加载的一个配置文件列表 5FJ(x:k?z
]Y3NmL
struts.configuration.xml.reload Xi~7pH
Whether to reload the XML configuration or not T)Y{>wT
是否加载xml配置(true,false) BQ:hUF3
\; voBU
struts.continuations.package Hk8lHja+\
The package containing actions that use Rife continuations _|Uv7>}J^
含有actions的完整连续的package名称 !kxJ&VmeF
h}y]Pt?
struts.custom.i18n.resources Zxw
cqN
Location of additional localization properties files to load Z g.La<#
加载附加的国际化属性文件(不包含.properties后缀) gbrn'NT
JT p+&NS
struts.custom.properties ,+4*\yI3l
Location of additional configuration properties files to load Yycfb
加载附加的配置文件的位置 b!<\#[
A4
@B`nM#X#
^qY?x7mx1
struts.devMode O#@G
.~n?
Whether Struts is in development mode or not 4{QD: D(D
是否为struts开发模式 oh0*b h
[.Rdq]w6
struts.dispatcher.parametersWorkaround yU"lJ>Eh}}
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic OQ&'3hv{
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) `N}aV Ns
cx~XG
struts.enable.DynamicMethodInvocation MBqw{cy
Allows one to disable dynamic method invocation from the URL Xaw ~Hh)
允许动态方法调用 )Drif\FF)
I=pFGU
struts.freemarker.manager.classname Xqy9D ZIn
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class qKD
Nw8>
org.apache.struts2.views.freemarker.FreemarkerManager接口名 2EH0d6nt
|{ @BH
struts.i18n.encoding z*)kK
The encoding to use for localization messages ?j;,:n
国际化信息内码 F.{$HJ
msVi3`q~
struts.i18n.reload +QEP:#qZw
Whether the localization messages should automatically be reloaded t2(vtxrt
是否国际化信息自动加载 5c\dm
ES\=MO5a7
struts.locale e-Zul.m
The default locale for the Struts application jdIAN
默认的国际化地区信息 $x*(D|\'<
cN:dy#
struts.mapper.class Z,oCkv("n
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .*X=JFxl
org.apache.struts2.dispatcher.mapper.ActionMapper接口 4(dgunP
$-p9cyk
struts.multipart.maxSize 4-?zW
The maximize size of a multipart request (file upload) mndKUI}d
multipart请求信息的最大尺寸(文件上传用) +i~kqiy.
T0 {X,
struts.multipart.parser v,kvLjqt
The org.apache.struts2.dispatcher.multipart. UP7?9\
MultiPartRequest parser implementation for a multipart request (file upload) 4"pU\g
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) u}.mJDL
'!F'B:
6HZVBZhM
struts.multipart.saveDir FeNNzV=
The directory to use for storing uploaded files Kk).KgR
设置存储上传文件的目录夹 3T/&T`T+c
:O7n*lwx
struts.objectFactory F/cA tT.M?
The com.opensymphony.xwork2.ObjectFactory implementation class Ig<# {V
com.opensymphony.xwork2.ObjectFactory接口(spring) uD?Rs`
<1#hX(Q
struts.objectFactory.spring.autoWire p^1~o/
Whether Spring should autoWire or not SZUo RWx
是否自动绑定Spring =6
3tp 9
J|w%n5Y
struts.objectFactory.spring.useClassCache +{#L,0t
Whether Spring should use its class cache or not 1H?I?IT30
是否spring应该使用自身的cache *c>B-Fo/D
0YC|;`J
struts.objectTypeDeterminer 8#w%qij
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Q
ZC\%X8j
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6!se,SCvw
N@Q_5t0bk
struts.serve.static.browserCache ]_j={0%
If static content served by the Struts filter should set browser caching header properties or not &smZ;yb|'h
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ~e&O?X
?./%7v
struts.serve.static |\>Ifv%{
Whether the Struts filter should serve static content or not V%B~ q`4
是否struts过滤器应该提供静态内容 z+{xW7
g;Zy3
struts.tag.altSyntax +sV~#%%
Whether to use the alterative syntax for the tags or not {.?pl]Zl6
是否可以用替代的语法替代tags dvM%" k
}kF?9w
struts.ui.templateDir pfs]pDjS:
The directory containing UI templates Q/q>mN"#1
UI templates的目录夹 &WeN{
}>EWFE`
struts.ui.theme H:P7G_!\
The default UI template theme r@}8TE*|P
默认的UI template主题 1IlOU|4
B>4/[
YHr;
struts.url.http.port ;E,i
The HTTP port used by Struts URLs p:)=i"uL
设置http端口 ;XQ27,K&
'Z]wh .]T
struts.url.https.port
_Ie:!q
The HTTPS port used by Struts URLs ~9"c64 q
设置https端口 lwz\"8
a;v4R[lQ
struts.url.includeParams i5=~tS
The default includeParams method to generate Struts URLs t
.}];IJP
在url中产生 默认的includeParams &F:.OVzX
CYlS8j
[RF]lM]w
struts.velocity.configfile G8 q<)
The Velocity configuration file path J"Fp),
velocity配置文件路径 (L1F],Au
_''un3eCY
struts.velocity.contexts /\;m/cwrl"
List of Velocity context names 'c_K[p$
velocity的context列表 d"n"A?nXh
X7[gfKGL)N
1w,34*- }
struts.velocity.manager.classname \ @[Q3.VX
org.apache.struts2.views.velocity.VelocityManager implementation class C#4_`4{
org.apache.struts2.views.velocity.VelocityManager接口名 &r,)4q+
0OQ*V~>f
struts.velocity.toolboxlocation >t<\zC|~w
The location of the Velocity toolbox C,A/29R,s
velocity工具盒的位置 4UUbX
struts.xslt.nocache Ni%@bU $
Whether or not XSLT templates should not be cached ##}7cFX
是否XSLT模版应该被缓存 O;5lF