struts2的struts.properties配置文件详解 *pwkv7Zh
Q`9c/vPU
struts.action.extension {k3ItGQ_
The URL extension to use to determine if the request is meant for a Struts action AyO%,6p[
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6
H P66B
e^O:I
struts.configuration ?0/$RpFEM#
The org.apache.struts2.config.Configuration implementation class ~ps,U
org.apache.struts2.config.Configuration接口名 y<FC7
(uvQ/!
struts.configuration.files 47Z3nl?
A list of configuration files automatically loaded by Struts @\?ubF
struts自动加载的一个配置文件列表 #]jl{K\f#X
~6t!)QATnp
struts.configuration.xml.reload 7(+4^
Whether to reload the XML configuration or not e&z@yy$
是否加载xml配置(true,false) `#ruZM066
-H6[{WVW!
struts.continuations.package n/5T{ NfG
The package containing actions that use Rife continuations wI|h9q1U
含有actions的完整连续的package名称 .b]sQ'
JI.=y5I
struts.custom.i18n.resources Q<V(#)*
Location of additional localization properties files to load i4|R0>b
加载附加的国际化属性文件(不包含.properties后缀) GFdbwn5B
J]TqH`MA
struts.custom.properties cOV9g)7^O
Location of additional configuration properties files to load rgVRF44X{
加载附加的配置文件的位置 &K0b3AWc
W\zZ&*8$
hEB5=~A_
struts.devMode G*N[t w
Whether Struts is in development mode or not Mm@G{J\\
是否为struts开发模式 [o<hQ`&
kAEq +{h
struts.dispatcher.parametersWorkaround 8+[Vo_]
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !Sn|!:N4
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )K{ s^]Jp
! eZls
struts.enable.DynamicMethodInvocation Dq<la+VlO
Allows one to disable dynamic method invocation from the URL \~*<[.8~
允许动态方法调用 J1}\H$*X
xw9ZRu<z
struts.freemarker.manager.classname ~g=&wT11
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Fy{yg]O"
org.apache.struts2.views.freemarker.FreemarkerManager接口名 9\.0v{&v
JhFn"(O
struts.i18n.encoding oY^I|FEOz
The encoding to use for localization messages j_2g*lQ7a
国际化信息内码 -0CBMoe
\eKXsO"d
struts.i18n.reload ym{@w3"S
Whether the localization messages should automatically be reloaded /.0K#J:
是否国际化信息自动加载 M3-lL;!n
I9Ohz!RQ
struts.locale h,Hr0^?
The default locale for the Struts application A:(|"<lA
默认的国际化地区信息 P6GTgQ<'BA
cIw X sx
struts.mapper.class -]0:FKW
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class iXm&\.%
org.apache.struts2.dispatcher.mapper.ActionMapper接口 16/ V5
O6Py
struts.multipart.maxSize h&j2mv(
The maximize size of a multipart request (file upload) $^fF}y6N
multipart请求信息的最大尺寸(文件上传用) 90}vFoy
@ !")shc
struts.multipart.parser w3(G!:
The org.apache.struts2.dispatcher.multipart. hOB<6Tm[
MultiPartRequest parser implementation for a multipart request (file upload) 3q/Us0jr
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) +
-Rf@
*}89.kCBF
LKvX~68
struts.multipart.saveDir W]eILCo
The directory to use for storing uploaded files W\>O$IX^e
设置存储上传文件的目录夹 [ojL9.6
B7uK:J:c*H
struts.objectFactory KuwhA-IL
The com.opensymphony.xwork2.ObjectFactory implementation class o?}dHTk7
com.opensymphony.xwork2.ObjectFactory接口(spring) b~&cYk'
q+9^rQ
struts.objectFactory.spring.autoWire Nmx\qJUR(
Whether Spring should autoWire or not W\Pd:t
是否自动绑定Spring b<y*:(:
>Y4^<!\v
struts.objectFactory.spring.useClassCache fh`Y2s|:7R
Whether Spring should use its class cache or not /UunWZ u%
是否spring应该使用自身的cache ]@9W19=P!P
K{_~W yRF
struts.objectTypeDeterminer +>C26Q
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class PV,Z@qm@^
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 UhW{KIW
=k<b* 8
struts.serve.static.browserCache <y?+xZM]#|
If static content served by the Struts filter should set browser caching header properties or not 0z \KI?kd
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /ZiMD;4@y
9)+!*(D
struts.serve.static 4e>f}u5
Whether the Struts filter should serve static content or not fZf>>mu@r'
是否struts过滤器应该提供静态内容 o%+w:u.
{P?Ge
struts.tag.altSyntax 2#$7!`6K
Whether to use the alterative syntax for the tags or not KLM6#6`
是否可以用替代的语法替代tags ;sA
5&a>!
\
&|xMw[
struts.ui.templateDir pRjEuOc
The directory containing UI templates I`B ZZ-
UI templates的目录夹 O=U,x-Wl
*H/)S 5
struts.ui.theme <P1nfH
The default UI template theme I;jH'._k#
默认的UI template主题 ):G+*3yb
2A
struts.url.http.port ;gEEdx'&T
The HTTP port used by Struts URLs Ow?~+)
4
设置http端口 U!+O+(
R|Bi%q|4P
struts.url.https.port /b{@']
The HTTPS port used by Struts URLs o&q:b9T
设置https端口 3U?gw!M>
OkQ<
Sc
struts.url.includeParams zz3{+1w]
The default includeParams method to generate Struts URLs d^?e*USh
在url中产生 默认的includeParams S~ckIN]
I@N/Y{y#
clqFV
struts.velocity.configfile eYRd#w
The Velocity configuration file path 1 h(n}u
velocity配置文件路径 G@rh/b<$
D {E,XOi
struts.velocity.contexts tWZ8(E$
List of Velocity context names {nZP4jze
velocity的context列表 c;b<z|}z
P<1&kUZL
/FTP8XHwL)
struts.velocity.manager.classname kazgI>"Q8
org.apache.struts2.views.velocity.VelocityManager implementation class F$v ^S+Ch
org.apache.struts2.views.velocity.VelocityManager接口名 sn[<Lq
:ldI1*@i<
struts.velocity.toolboxlocation
CU\r
I
The location of the Velocity toolbox \SmYxdU'>
velocity工具盒的位置 Ei,dO;&
struts.xslt.nocache ,!AYeVq
Whether or not XSLT templates should not be cached yYJ +vs
是否XSLT模版应该被缓存 :q1j?0{2N