struts2的struts.properties配置文件详解 Mou>|U1e"
Xnt`7L<L
struts.action.extension -d[9mS
The URL extension to use to determine if the request is meant for a Struts action 6{8qATLR
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 q*{i /=~
)Uw
QsP
struts.configuration H|tbwU)J
The org.apache.struts2.config.Configuration implementation class z
`T<g!Y
org.apache.struts2.config.Configuration接口名 dz5a! e
[
"S(m1L?
struts.configuration.files w [I%Id;E
A list of configuration files automatically loaded by Struts 8|.(Y
struts自动加载的一个配置文件列表 v:PNt#Ta
(^ZC8)0i(
struts.configuration.xml.reload aAh")B2
Whether to reload the XML configuration or not c|X.&<lX
是否加载xml配置(true,false) Dp8YzWL2^
57Y(_h:
struts.continuations.package :iD([V
The package containing actions that use Rife continuations Gn<s>3E
含有actions的完整连续的package名称 yd]W',c
_*0!6?c
struts.custom.i18n.resources mhH[jO)
Location of additional localization properties files to load F2:+i#lE
加载附加的国际化属性文件(不包含.properties后缀) ;E l"dqH
)a.w4dH
struts.custom.properties ;26a8g(
Location of additional configuration properties files to load
e-sMU
加载附加的配置文件的位置 _M8Q%
!`hiXDk*2
dB ?+-aE
struts.devMode >M<rr!|
Whether Struts is in development mode or not Q1 mz~r
是否为struts开发模式 d!{,[8&
+_|M*%
struts.dispatcher.parametersWorkaround Vl5}m
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic kG[u$[B
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) yBXdj`bV
WEFYV=I\
struts.enable.DynamicMethodInvocation k|F<?:C
Allows one to disable dynamic method invocation from the URL BB-E"<
允许动态方法调用 7G.IGXK$
(=}U2GD*
struts.freemarker.manager.classname M\ vj&T{k
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class X3tpW`alo
org.apache.struts2.views.freemarker.FreemarkerManager接口名 x$QOOE]
J
[J,
struts.i18n.encoding @QV|<NeH
The encoding to use for localization messages :/c=."z.
国际化信息内码 Ytm t+9
o/@.*Rj>Bg
struts.i18n.reload iIA5ylf{E
Whether the localization messages should automatically be reloaded dms R>Q
是否国际化信息自动加载 !R-M:|
fLA!oeq{&}
struts.locale sn
'#]yM
The default locale for the Struts application 1Y$ gt
默认的国际化地区信息 }_u1'
&, hhH_W
struts.mapper.class rbS67--]
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (s4w0z
org.apache.struts2.dispatcher.mapper.ActionMapper接口 }BlVLf%C
u7ZSs-LuHw
struts.multipart.maxSize wo5"f}vd#
The maximize size of a multipart request (file upload) oJK1~;:
multipart请求信息的最大尺寸(文件上传用) v3x_8n$C9
/@gD
8
struts.multipart.parser |G&<@8O
The org.apache.struts2.dispatcher.multipart. y2gI]A
MultiPartRequest parser implementation for a multipart request (file upload) fWhw I+
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) JaoRkl?F
5"%r,GM U
I7ZY9W(S
struts.multipart.saveDir }` E5I&r4
The directory to use for storing uploaded files Rx<m+=
设置存储上传文件的目录夹 {Lwgj7|~
`*mctjSN
struts.objectFactory jq
yqOhb4
The com.opensymphony.xwork2.ObjectFactory implementation class *kY\,r&!P
com.opensymphony.xwork2.ObjectFactory接口(spring) AP'UcA
~McmlJzJG
struts.objectFactory.spring.autoWire 7dyGC:YuTL
Whether Spring should autoWire or not -D?T0>
是否自动绑定Spring bq/m?;
{P"$;_Y"<
struts.objectFactory.spring.useClassCache D+lzISp~e
Whether Spring should use its class cache or not B!0o6)u'
是否spring应该使用自身的cache >&6pBtC_
[tGAo/
struts.objectTypeDeterminer N3
.!E|
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class c"Kl@[1\~
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /{vv n
Q*&>Ui[&
struts.serve.static.browserCache s%z\szd*
If static content served by the Struts filter should set browser caching header properties or not .I$Q3%s
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 )XV|D
,X25 -OFZ
struts.serve.static j|gQe .,1
Whether the Struts filter should serve static content or not 28[hp[<
是否struts过滤器应该提供静态内容 VHwb 7f]gq
B38_1X7
struts.tag.altSyntax EtvZk9d6h*
Whether to use the alterative syntax for the tags or not p \A ^kX^5
是否可以用替代的语法替代tags o%XAw
:IlRn`9X`
struts.ui.templateDir [* ,k
The directory containing UI templates j&,,~AZm
UI templates的目录夹 A;7p
0O<g)%Vz>
struts.ui.theme xpCzx=n3.m
The default UI template theme +EjH9;gx
默认的UI template主题 Q ]]}8l2
<@6K(
struts.url.http.port 3>YG
The HTTP port used by Struts URLs S
L<P`H|
设置http端口 Vp{! Ft8>
A:PQIcR;V
struts.url.https.port Fka&\9i
The HTTPS port used by Struts URLs QH@?.Kb_qU
设置https端口 G8dC5+h
JJ`RF
struts.url.includeParams I4{uw ge
The default includeParams method to generate Struts URLs Bd jo3eX
在url中产生 默认的includeParams *@/1]W
1Q"w)Ta
&oI;^|
struts.velocity.configfile L;N)l2m.\
The Velocity configuration file path Q%)da)0:c
velocity配置文件路径 #$7d1bx
r'0IAJ-;
struts.velocity.contexts rDFDrviW_
List of Velocity context names Y5?*=eM
velocity的context列表 is}6cR
,rj_P
Qz)1wf'y
struts.velocity.manager.classname xj`ni G
org.apache.struts2.views.velocity.VelocityManager implementation class .|W0B+Z8
org.apache.struts2.views.velocity.VelocityManager接口名 &x6Z=|Ers
>a/]8A
struts.velocity.toolboxlocation ~R^~?Y%+<
The location of the Velocity toolbox GcN[bH(@
velocity工具盒的位置 Pu/X_D-#Gi
struts.xslt.nocache HwfBbWHr'
Whether or not XSLT templates should not be cached \) DJo
是否XSLT模版应该被缓存 )7!q>^S{B