struts2的struts.properties配置文件详解 =:CGl
l1+w2rd1
struts.action.extension Q%X:5G?
The URL extension to use to determine if the request is meant for a Struts action kb>Vw<NtE
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 $ly#zQR
[t"_}t =w
struts.configuration 6,V.j>z
The org.apache.struts2.config.Configuration implementation class A9fjMnw
org.apache.struts2.config.Configuration接口名 u@:=qd=\
{LMS~nx
struts.configuration.files 4acP*LkkQ
A list of configuration files automatically loaded by Struts "FLD%3l
struts自动加载的一个配置文件列表 $,z[XM&9)
LoV*YSDAY
struts.configuration.xml.reload 9 :K
Whether to reload the XML configuration or not #um1?V
是否加载xml配置(true,false) 4cErk)F4
Yq)YS]
struts.continuations.package c*M)DO`y;h
The package containing actions that use Rife continuations s$DT.cvO
含有actions的完整连续的package名称 K8yyxJ
?}1JL6mF{
struts.custom.i18n.resources EE{#S
Location of additional localization properties files to load Vx\#+)4
加载附加的国际化属性文件(不包含.properties后缀) :)
Fp
B"
O_s9
struts.custom.properties b Q9"GO<X
Location of additional configuration properties files to load Us@ {w`T
加载附加的配置文件的位置 Gg3?2h"d
~'Qpf 8)
^%4(
%68
struts.devMode mNBpb}
Whether Struts is in development mode or not x jP" 'yU
是否为struts开发模式 +lDGr/
NBbY## w0
struts.dispatcher.parametersWorkaround @tjZvRtZ
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 2os6c te
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )z*$`?)k
7Y @=x#
struts.enable.DynamicMethodInvocation 9rf|r
3
Allows one to disable dynamic method invocation from the URL )@lo ';\
允许动态方法调用 $S)e"Po~5
8^ ~ZNU-~v
struts.freemarker.manager.classname kw-Kx4 )
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 33v%e
org.apache.struts2.views.freemarker.FreemarkerManager接口名 F|n$0vQ*
x`=5l`
struts.i18n.encoding $U"P+
The encoding to use for localization messages 8G[Y9A(bmP
国际化信息内码 #LNB@E
L2/<+Zw
struts.i18n.reload %unK8z
Whether the localization messages should automatically be reloaded 1,;qXMhK`;
是否国际化信息自动加载 H/v37%p7
#`6OC)1J
struts.locale HS5Ug'\446
The default locale for the Struts application )*$
默认的国际化地区信息 ~A:;?A'.
b$`4Nn|
struts.mapper.class <+i`W7
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class g:HbmXOBpj
org.apache.struts2.dispatcher.mapper.ActionMapper接口 \A ~I>x
|"tV["a
struts.multipart.maxSize 6!}m$Dvt~
The maximize size of a multipart request (file upload) ~i_R%z:y
multipart请求信息的最大尺寸(文件上传用) B"E (Y M
JY050FL
struts.multipart.parser ]K0,nj*\c
The org.apache.struts2.dispatcher.multipart. EK- bvZ
MultiPartRequest parser implementation for a multipart request (file upload) l`5}i|4KTW
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) enD C#
DRBYH(
k}Clq;G
struts.multipart.saveDir vsr~[d=
The directory to use for storing uploaded files gQ+_&'C
设置存储上传文件的目录夹 j|$y)FBX
Lw2YP[CR
struts.objectFactory .*wjkirF#~
The com.opensymphony.xwork2.ObjectFactory implementation class jtVPv]
com.opensymphony.xwork2.ObjectFactory接口(spring) raI~BIfe
uwS'*5tU
struts.objectFactory.spring.autoWire $Ln2O#
Whether Spring should autoWire or not j"$b%|
是否自动绑定Spring ?[>BssW
PRf\6
struts.objectFactory.spring.useClassCache A&_i]o
Whether Spring should use its class cache or not *}WqYqOow
是否spring应该使用自身的cache ?$8 ,j+&I
K?9H.#(
struts.objectTypeDeterminer $m%/veD k
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class G}hkr
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 B8#f^}8
7_'k`J@_
struts.serve.static.browserCache O9 Au =
If static content served by the Struts filter should set browser caching header properties or not HIp {< M3
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Rx"VscB6z
CYic_rF$
struts.serve.static \?mU$,voI
Whether the Struts filter should serve static content or not MvjwP?J]
是否struts过滤器应该提供静态内容 r'JK$9
m5Laq'~0_
struts.tag.altSyntax XuAc3~HAd
Whether to use the alterative syntax for the tags or not Yr(f iI
是否可以用替代的语法替代tags [?r\b
?Kz`
O>"6
struts.ui.templateDir eEds-&_
The directory containing UI templates WE8L?55_Au
UI templates的目录夹 t-ReT_D|;
&)'kX
struts.ui.theme vR.6^q
The default UI template theme %^@0tT
默认的UI template主题 '~6CGqU*
0PX@E-n
struts.url.http.port E":":AC#
The HTTP port used by Struts URLs k}a!lI:
设置http端口 PT*@#:MA
+z/73s0~
struts.url.https.port [(^''*7r+T
The HTTPS port used by Struts URLs HBkQ`T
设置https端口 GISI8W^
)da8Ru
struts.url.includeParams !m.')\4<
The default includeParams method to generate Struts URLs 2!& ;ZcT,
在url中产生 默认的includeParams K0!#l Br
C&K(({5O
Vh-h{
struts.velocity.configfile rO>wX_
The Velocity configuration file path (YH{%8
Z0
velocity配置文件路径 #2t\>7]
R$'nWzX#
struts.velocity.contexts sBG(CpQ
List of Velocity context names v?' k)B
velocity的context列表 |8?{JKsg
,T>2zSk
j:<T<8.o
struts.velocity.manager.classname sU3V)7"
org.apache.struts2.views.velocity.VelocityManager implementation class w9?wy#YI
org.apache.struts2.views.velocity.VelocityManager接口名 "Q!{8 9Y
us *l+Jw,m
struts.velocity.toolboxlocation K?<Odw'k
The location of the Velocity toolbox :r+
1>F$o
velocity工具盒的位置 ^\t">NJ^
struts.xslt.nocache .3SjkC4I
Whether or not XSLT templates should not be cached ]V7hl#VO
是否XSLT模版应该被缓存 *>H'@gS