struts2的struts.properties配置文件详解 B!|<<;Da6
8Z TN
struts.action.extension 2\flTO2Ny
The URL extension to use to determine if the request is meant for a Struts action ;\@co5.=
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 olNgtSX
T~%}(0=m
struts.configuration =9UR~-`d\
The org.apache.struts2.config.Configuration implementation class 3siWq9.
org.apache.struts2.config.Configuration接口名 rO]7g
;-=Q6Ms8
struts.configuration.files vc.:du
A list of configuration files automatically loaded by Struts lsV9-)yyl
struts自动加载的一个配置文件列表 lW^bn(_gQ
\Kph?l9Ww
struts.configuration.xml.reload gC81ICM
Whether to reload the XML configuration or not \ltA&}!
是否加载xml配置(true,false) [|gh q
-@49Zh2'
struts.continuations.package D-8NDa(`
The package containing actions that use Rife continuations P"dWh;I_
含有actions的完整连续的package名称 5"4O_JQ
5T?esF<
struts.custom.i18n.resources MTZbRi6z
Location of additional localization properties files to load $sDvE~f0n
加载附加的国际化属性文件(不包含.properties后缀) N;cEf7+f
]UG+<V
,:
struts.custom.properties ]Mu
+
DZ
Location of additional configuration properties files to load 8r^~`rL
加载附加的配置文件的位置 pyEi@L1p
KX e/i~AS
- aCtk$3
struts.devMode d'~sy>
Whether Struts is in development mode or not 8}m bfuo1
是否为struts开发模式 :3k&[W*
o8+ZgXct
struts.dispatcher.parametersWorkaround Nf0'>`/
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %vjLw`
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Mg
H,"G
(?SK< 4!
struts.enable.DynamicMethodInvocation !r:X`~\a
Allows one to disable dynamic method invocation from the URL t.sbfLu
允许动态方法调用 o9)pOwk7;
tGGv 2TCEy
struts.freemarker.manager.classname uJz<:/rwZ-
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class O) ks
org.apache.struts2.views.freemarker.FreemarkerManager接口名 6"^Yn.
wB6ILTu1
struts.i18n.encoding ViV"+b#gu
The encoding to use for localization messages }."3&u't
国际化信息内码 @5n!t1(
Kq}/`P
struts.i18n.reload %G6ml,
Whether the localization messages should automatically be reloaded %Z@+K_X9x
是否国际化信息自动加载 /+\m7IS
Ha l,%W~e
struts.locale mQmn &:R
The default locale for the Struts application !8q+W`{
默认的国际化地区信息 )clSW
H"|xG;cf
struts.mapper.class 82%~WQnS
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class #s JE{Tb
org.apache.struts2.dispatcher.mapper.ActionMapper接口 p[BF4h{E
kt8P\/~*i
struts.multipart.maxSize V[-4cu,Ph^
The maximize size of a multipart request (file upload) ^06f\7A
multipart请求信息的最大尺寸(文件上传用) 70p1&Y7or
8X=cGYC#
struts.multipart.parser TRwlUC3hQ
The org.apache.struts2.dispatcher.multipart. B .p&,K
MultiPartRequest parser implementation for a multipart request (file upload) l6Hu(.Ls;j
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) +g_+JLQ
O5HK2Xg,C
V5y8VT=I
struts.multipart.saveDir hC ^|
The directory to use for storing uploaded files 1iq,Gd-G.
设置存储上传文件的目录夹 <7HVkAa
;Ee!vqD2
struts.objectFactory u.(
WW(/N
The com.opensymphony.xwork2.ObjectFactory implementation class QFOmnbJg
com.opensymphony.xwork2.ObjectFactory接口(spring) 5mB%Xh;bg
]>fAV(ix
struts.objectFactory.spring.autoWire uGm~ Oo
Whether Spring should autoWire or not ^R* _Q,o#
是否自动绑定Spring Bq~!_6fB
{UpHHH:X#
struts.objectFactory.spring.useClassCache m1x7f%_
Whether Spring should use its class cache or not
,lX5-1H
是否spring应该使用自身的cache VuqN)CE^Uq
OU;R;=/]
struts.objectTypeDeterminer O$jj&
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /C(lQs*l
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .'o<.\R8
&V5[Zj|]
struts.serve.static.browserCache f}q4~NPn-
If static content served by the Struts filter should set browser caching header properties or not r\7F}ZW/
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =[%ge{ ,t
:USN`"
struts.serve.static *Dr -{\9
Whether the Struts filter should serve static content or not 12 HBq8o
是否struts过滤器应该提供静态内容 4 4bTx y
}qy,/<R
struts.tag.altSyntax ~m^.&mv3/
Whether to use the alterative syntax for the tags or not ~ZeF5
是否可以用替代的语法替代tags (9:MIP
' uvTOgP,
struts.ui.templateDir Rd6? ,
The directory containing UI templates J2cqnwUV
UI templates的目录夹 Wz)O,X^
0yW#).D^b
struts.ui.theme `>CHE'_
The default UI template theme fl| 8#\r
默认的UI template主题 m1@ste;$W
C"bG?Mb
struts.url.http.port `f.okqBAh
The HTTP port used by Struts URLs Fu4LD-#
设置http端口 n<
UuVu
[.\uHt
struts.url.https.port juQ&v>9W)
The HTTPS port used by Struts URLs IC&xL9
设置https端口 <p"[jC2zF;
/]H6'
struts.url.includeParams "]M:+mH{]
The default includeParams method to generate Struts URLs _2Sb?]Xn
在url中产生 默认的includeParams 3xS+Pu\)
tins.D
W- Q:G=S-
struts.velocity.configfile #m_3ls}W$
The Velocity configuration file path _t<D~
velocity配置文件路径 N
]/N}b
uq<kT [
struts.velocity.contexts v"M5';ZS>
List of Velocity context names >]N}3J}47g
velocity的context列表 &u5OL?>
~(E.$y7P
m~;fklX S
struts.velocity.manager.classname tL0<xGI5^
org.apache.struts2.views.velocity.VelocityManager implementation class ,ra!O=d~0
org.apache.struts2.views.velocity.VelocityManager接口名 Sa5+_TW
4yhan/zA
struts.velocity.toolboxlocation ^LfN6{
The location of the Velocity toolbox H/8H`9S$
velocity工具盒的位置 <CrNDY
struts.xslt.nocache ACQc
0:q
Whether or not XSLT templates should not be cached mQ 1) d5
是否XSLT模版应该被缓存 uC{qaMQ