struts2的struts.properties配置文件详解 nVxq72o@
8rFaW
struts.action.extension 3az$:[Und}
The URL extension to use to determine if the request is meant for a Struts action 4|nQ=bIau
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "hWJ3pi{o{
0 Tcz[$?
struts.configuration 2;:lK" :
The org.apache.struts2.config.Configuration implementation class {Q)dU-\
org.apache.struts2.config.Configuration接口名 ^:qD .h>&
NMXnrvS&
struts.configuration.files hUVk54~l
A list of configuration files automatically loaded by Struts i{8]'fM
struts自动加载的一个配置文件列表 16I&7=S,
%=V" CJ$|
struts.configuration.xml.reload R
N@^j
Whether to reload the XML configuration or not 8N%z9b
是否加载xml配置(true,false) 7p^@;@V
~<n(y-P^
struts.continuations.package >;)2NrJV
The package containing actions that use Rife continuations h$70H ^r
含有actions的完整连续的package名称 9b1?W?"
Bi e?M
struts.custom.i18n.resources ##H;Yb
Location of additional localization properties files to load Y}ng_c
加载附加的国际化属性文件(不包含.properties后缀) e
RA7i
dFQo
struts.custom.properties `gt:gx>a
Location of additional configuration properties files to load !"Qb}g
加载附加的配置文件的位置 7Rnm%8?T
Yp*,Jp1
:
(gZgMT
struts.devMode #+9rjq:v#]
Whether Struts is in development mode or not ]}kI)34/
是否为struts开发模式 \yNQQ$B
lW
p~t
struts.dispatcher.parametersWorkaround EY kj@
.,
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic wf?u(3/%
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) n@
4@,
4r\*@rq
struts.enable.DynamicMethodInvocation eOt%x Tx
Allows one to disable dynamic method invocation from the URL .`,F
允许动态方法调用 Uo2+:p
Vvyj
struts.freemarker.manager.classname QC{u|
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class |8H_-n
org.apache.struts2.views.freemarker.FreemarkerManager接口名 U;g S[8,p
Sk\n;mL:
struts.i18n.encoding 4qt+uNe!
The encoding to use for localization messages -0$:|p?@^
国际化信息内码 'w(y
J
;K_}A4K
struts.i18n.reload JWWYVl VC
Whether the localization messages should automatically be reloaded \PbvN\L
是否国际化信息自动加载 3?2<WEYr
?q_^Rj$
struts.locale zG#wu
The default locale for the Struts application Q&xjF@I
默认的国际化地区信息 zsDocR
daslaa_A
struts.mapper.class ;WD,x:>blO
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class f^p^Y
F+
org.apache.struts2.dispatcher.mapper.ActionMapper接口 EUy(T1Cl&&
D+sQP ymI
struts.multipart.maxSize /Pvk),ca
The maximize size of a multipart request (file upload) y7z( &M@
multipart请求信息的最大尺寸(文件上传用) o'Wz*oY))\
5;mRGY
struts.multipart.parser KY$k`f6?P
The org.apache.struts2.dispatcher.multipart. '. (~
MultiPartRequest parser implementation for a multipart request (file upload) H<`\bej,
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;3;2h+U*
;L~p|sF
}3Y
<$YL"R
struts.multipart.saveDir X4wH/q^
The directory to use for storing uploaded files ZQAO"huk]
设置存储上传文件的目录夹 ,[isib3
6YmP[%
struts.objectFactory T|;@T^
The com.opensymphony.xwork2.ObjectFactory implementation class {~N3D4n^
com.opensymphony.xwork2.ObjectFactory接口(spring) H z@h0+h
2no$+4+z
struts.objectFactory.spring.autoWire o5swH6Y.)J
Whether Spring should autoWire or not lpy:3`ti
是否自动绑定Spring bb;(gK;F
bO3GVc+S
struts.objectFactory.spring.useClassCache dU]/$7
Whether Spring should use its class cache or not H(|AH;?ou
是否spring应该使用自身的cache F_=1;,K%
I{ ryD -!
struts.objectTypeDeterminer 6Ps.E
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class -\#lF?fzb
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &gn-Wb?
"uKFOV?j&
struts.serve.static.browserCache B+] D5K
If static content served by the Struts filter should set browser caching header properties or not E!J=8C.:
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8#X_#
PLA#!$c7q
struts.serve.static rp's
Whether the Struts filter should serve static content or not m\ S\3n
是否struts过滤器应该提供静态内容 JoZ(_Jh%m
*fnvZw?
struts.tag.altSyntax $dQIs:
Whether to use the alterative syntax for the tags or not mR%FqaN_
是否可以用替代的语法替代tags }D*yr3b
T\9~<"P^
struts.ui.templateDir WO X}Sw"
The directory containing UI templates yZCX S
UI templates的目录夹 &Z;_TN9[
T95t"g?p
struts.ui.theme W.I\J<=V
The default UI template theme dNiH|-$an
默认的UI template主题 |3shc,7
bgF^(T35
struts.url.http.port BRS#Fl:
The HTTP port used by Struts URLs O_;Dk W
设置http端口 SZhOm
h
Dk)Qg
struts.url.https.port ^/@jwZ
The HTTPS port used by Struts URLs w1`QIv
设置https端口 T2FE+ A]n9
6C [E
struts.url.includeParams sOBu7!G%
The default includeParams method to generate Struts URLs f>polxB%N
在url中产生 默认的includeParams Kj3?ve~
t"vRc4mf
hyg8wI
struts.velocity.configfile DM{ 4@*]
The Velocity configuration file path ,"\@fwy{
velocity配置文件路径 lv%9MW0
z
D`yEwpV^
struts.velocity.contexts J2VTo: In
List of Velocity context names ["3\eFg
velocity的context列表 i7*EbaYzUO
4J0Rvod_
LWnR?Qve<
struts.velocity.manager.classname VT%:zf
org.apache.struts2.views.velocity.VelocityManager implementation class #_i`#d)
org.apache.struts2.views.velocity.VelocityManager接口名 #8XL
:I
k@dN$O%p
struts.velocity.toolboxlocation 7f{=w,
U
The location of the Velocity toolbox \ZI'|Ad
velocity工具盒的位置 ;# uZhd
struts.xslt.nocache 5!X1G8h)uy
Whether or not XSLT templates should not be cached O|kOI?f
是否XSLT模版应该被缓存 9?<{_'