struts2的struts.properties配置文件详解 .O5|d+S
OwC{ Ad{
struts.action.extension Z1H
The URL extension to use to determine if the request is meant for a Struts action I<lkociUCG
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @)ozgs@e
How:_ Hj
struts.configuration Ejf>QIB
The org.apache.struts2.config.Configuration implementation class -% B)+yq>
org.apache.struts2.config.Configuration接口名 j~2t^Qz
"(F:'J} X
struts.configuration.files d#,
A list of configuration files automatically loaded by Struts {flxZ}
struts自动加载的一个配置文件列表 aj+I+r"~
+/*A}!#v
struts.configuration.xml.reload 5tbi};
Whether to reload the XML configuration or not 9&c *%mm
是否加载xml配置(true,false) 6l?KX
[Az^i>iH
struts.continuations.package AQBr{^inH|
The package containing actions that use Rife continuations kZ_5R#xK
含有actions的完整连续的package名称 $_Lcw"xO
~i@Z4tj7
struts.custom.i18n.resources Cvs4dd%)i
Location of additional localization properties files to load &
V/t0
加载附加的国际化属性文件(不包含.properties后缀) wmv/?g
9/GC8*+
struts.custom.properties &_6B{Q
Location of additional configuration properties files to load bDcWPwe
加载附加的配置文件的位置 BI)$aR
pzBd(d^*
8>^O]5Wo`X
struts.devMode q(@hYp#O"3
Whether Struts is in development mode or not /Big^^u
是否为struts开发模式 wvSaq+N
~_L_un.R
struts.dispatcher.parametersWorkaround Jqi^Z*PuX
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic U@?Roenn
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) blB00
Hb *&&
struts.enable.DynamicMethodInvocation [318Q%W&
Allows one to disable dynamic method invocation from the URL 6cOm 8#
允许动态方法调用 RIl+QA
q:v&wb%
struts.freemarker.manager.classname hbdM}"&]
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?\Jl] {i2
org.apache.struts2.views.freemarker.FreemarkerManager接口名 <yrl_vl{
HTCn=MZm
?
struts.i18n.encoding nz]+G2h
The encoding to use for localization messages Y;XEC;PXD
国际化信息内码 1vBXO bk
Hlq#X:DCn
struts.i18n.reload JuT~~Z
Whether the localization messages should automatically be reloaded 2^7VDqLc
是否国际化信息自动加载 "h}miVArS
oos7x6
struts.locale Hi<5jl
The default locale for the Struts application
EWg\\90
默认的国际化地区信息 +K%4jIm
mMvt#+O
struts.mapper.class r6`v-TY(/
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @nS+!t{
org.apache.struts2.dispatcher.mapper.ActionMapper接口 @ zE>n
Ytnk^/Z1L
struts.multipart.maxSize !7lS=D(?
The maximize size of a multipart request (file upload) Iw$7f kq
multipart请求信息的最大尺寸(文件上传用) \Z^YaKj&
Ln})\
UDK)
struts.multipart.parser bi bjFg
The org.apache.struts2.dispatcher.multipart. O&?i8XsB
MultiPartRequest parser implementation for a multipart request (file upload) x\Bl^1&
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) :YU_ \EV
n%]1p36
z5v)~+"1
struts.multipart.saveDir %_!YonRY|X
The directory to use for storing uploaded files z17x%jXy
设置存储上传文件的目录夹 Dxu2rz!li-
h`OX()N
struts.objectFactory uFIr.U$V
The com.opensymphony.xwork2.ObjectFactory implementation class d3AOuVUf
com.opensymphony.xwork2.ObjectFactory接口(spring) $e7dE$eH
#$QC2;/)F
struts.objectFactory.spring.autoWire CCOd4
Whether Spring should autoWire or not 3EN?{T<yf
是否自动绑定Spring f YR*B0tu
i*' 6"
struts.objectFactory.spring.useClassCache oq4*m[
Whether Spring should use its class cache or not S$Tc\/{
是否spring应该使用自身的cache t/\J
N*N@wJy:5
struts.objectTypeDeterminer +^
n\?!
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~*9
vn Z@
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 C#`VVtei
q"@Y2lhD!
struts.serve.static.browserCache 'PF?D~
If static content served by the Struts filter should set browser caching header properties or not %l!Gt"\xm
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 1CFTQB >
w:P$S
struts.serve.static JW ;DA E<
Whether the Struts filter should serve static content or not 3Lwl~h!
是否struts过滤器应该提供静态内容 t/cjz/]
}I7/FqrD
struts.tag.altSyntax .kM74X=S
Whether to use the alterative syntax for the tags or not t#|E.G:=
是否可以用替代的语法替代tags n<:/ X tE
EmNB}\IYU
struts.ui.templateDir tkdhT8_
The directory containing UI templates 9/w'4bd
UI templates的目录夹 V"VWHAu*.w
?,r bD1
struts.ui.theme 0_bt*.wI+
The default UI template theme
~4Is
默认的UI template主题 fiTMS:
A"Rzn1/
struts.url.http.port H<`[,t
The HTTP port used by Struts URLs *MkhRLw\,
设置http端口 9Q :IgY?T
>c7/E
struts.url.https.port C5Q|3d
The HTTPS port used by Struts URLs e%G-+6
设置https端口 4:cbasy
w0~iGr}P
struts.url.includeParams 6K P!o
The default includeParams method to generate Struts URLs @Risabn
在url中产生 默认的includeParams 'KQ]7
S^)r,cC
d^
!3bv*h
struts.velocity.configfile (W+9 u0Zq
The Velocity configuration file path z/fRd6|[
velocity配置文件路径 [
H>MeeR
D4'?
V
Iz
struts.velocity.contexts fokT)nf~^8
List of Velocity context names B\|>i~u(
velocity的context列表 YO!,m<b^u
h9+ylHW_cp
kRiWNEw
struts.velocity.manager.classname z9HQFRbo[
org.apache.struts2.views.velocity.VelocityManager implementation class -xXNzC
org.apache.struts2.views.velocity.VelocityManager接口名 [tMf KO
*"fg@B5
struts.velocity.toolboxlocation jT::o
The location of the Velocity toolbox eiEZtu
velocity工具盒的位置 }C*o;'o5G
struts.xslt.nocache Ynz^M{9)K
Whether or not XSLT templates should not be cached ~n[LL)v
是否XSLT模版应该被缓存 ]Jnf.3