struts2的struts.properties配置文件详解 N',]WZ}
LV'v7 2yUH
struts.action.extension Ij/c@#q.
The URL extension to use to determine if the request is meant for a Struts action P}JA"V&
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \)`\F$CF
L}x"U9'C
struts.configuration =<R77rnY&
The org.apache.struts2.config.Configuration implementation class V=.lpj9m
org.apache.struts2.config.Configuration接口名 aCy2.Qn
naM4X@jl
struts.configuration.files +g\u=&<6
A list of configuration files automatically loaded by Struts e-\J!E'1F
struts自动加载的一个配置文件列表 ,,b_x@y*
980[]&(
struts.configuration.xml.reload $UO7AHk
Whether to reload the XML configuration or not ^vJ08gu_W
是否加载xml配置(true,false) 3v5]L3
z2S53^C*
struts.continuations.package \MX>=
The package containing actions that use Rife continuations HrWXPac
A
含有actions的完整连续的package名称 3mpEF<z
Fg`r:,(a
struts.custom.i18n.resources NCl$vc;,
Location of additional localization properties files to load 19&!#z
加载附加的国际化属性文件(不包含.properties后缀) O. @_2
dt^yEapjM
struts.custom.properties Qx'a+kLu9
Location of additional configuration properties files to load W!V06.
加载附加的配置文件的位置 Yq3(,
h}rrsVj3
@N"h,(^
struts.devMode NTls64AS.
Whether Struts is in development mode or not ?cowey\m
.
是否为struts开发模式 N{
;{<C9Z
Y |n_Ro^~
struts.dispatcher.parametersWorkaround 1,9RfY V
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic phEM1",4T
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) nD!C9G#oS
86.!sQ8b
struts.enable.DynamicMethodInvocation `L7 cS
Allows one to disable dynamic method invocation from the URL l,-smK69
允许动态方法调用 o#Rao#bD:
UYGl
struts.freemarker.manager.classname 5qR76iH)/
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *cq#>rN
org.apache.struts2.views.freemarker.FreemarkerManager接口名 'xvV;bi
FL"I PX;S
struts.i18n.encoding }a-ikFQ]
The encoding to use for localization messages <`~]P$
国际化信息内码 )6^b\`
Vr`UF0_3q
struts.i18n.reload z35n3q
Whether the localization messages should automatically be reloaded ke'p8Gz
是否国际化信息自动加载 VqbMFr<k
9{?<.%
struts.locale ,|?B5n&
The default locale for the Struts application ^L<1S/~)
默认的国际化地区信息 *
vEG%Y
?r2Im5N
struts.mapper.class I&1h/
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class a(BWV?A
org.apache.struts2.dispatcher.mapper.ActionMapper接口 +!'6:F
W;Ox H"eC
struts.multipart.maxSize J+w"{ O
The maximize size of a multipart request (file upload) OCY7Bls4
multipart请求信息的最大尺寸(文件上传用) XZJ }nXy
/$]dVvhX%
struts.multipart.parser 5H""_uw
The org.apache.struts2.dispatcher.multipart. C7eaioW$
MultiPartRequest parser implementation for a multipart request (file upload) 0 l
G\QT
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) j#<#o:If
DZ(e^vq
rL&585
struts.multipart.saveDir c|hKo[r)
The directory to use for storing uploaded files wF$8#=
设置存储上传文件的目录夹 3sHC1+
HOtays,#<}
struts.objectFactory daY^{u3
The com.opensymphony.xwork2.ObjectFactory implementation class E':y3T@."
com.opensymphony.xwork2.ObjectFactory接口(spring) g6;O)b
pG:FDlR~
struts.objectFactory.spring.autoWire H /*^$>0Uo
Whether Spring should autoWire or not ?gH[tN:=
是否自动绑定Spring 0JKbp*H
Q3_ia5 `O
struts.objectFactory.spring.useClassCache {- 7T\mj
Whether Spring should use its class cache or not ([`-*Hy
是否spring应该使用自身的cache W5EB+b49KM
,`S"nq
struts.objectTypeDeterminer `{ou4H\
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \[+ZKj:
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 80c\O-{
akrEZ7A
struts.serve.static.browserCache N;;!ObVHnP
If static content served by the Struts filter should set browser caching header properties or not I]jVnQ>&
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 bmzs!fg_~R
~KHp~Xs`
struts.serve.static onHUi]yYu{
Whether the Struts filter should serve static content or not WVf;uob{
是否struts过滤器应该提供静态内容 @;JT }R H-
33s.p'
struts.tag.altSyntax 5 S7\m5
Whether to use the alterative syntax for the tags or not \CX`PZ><
是否可以用替代的语法替代tags adHHnH`,
_+.z2} M
struts.ui.templateDir b?h"a<7
The directory containing UI templates r6*0H/*
UI templates的目录夹 i,$*+2Z
D{PO!WzW
struts.ui.theme u` R
The default UI template theme _lu.@IX-
默认的UI template主题 GriL< =?t
`cMa Fc-y/
struts.url.http.port y=G
The HTTP port used by Struts URLs |!flR? OU
设置http端口 e9o(hL
Cq}LKiu
struts.url.https.port !NZFo S~
The HTTPS port used by Struts URLs oT_k"]~Q~2
设置https端口 fL'
42
+Y'(,J
struts.url.includeParams ;,'eO i
The default includeParams method to generate Struts URLs $l 0^2o=
在url中产生 默认的includeParams j""u:l^+x
zT0FTAl^
/c]I|$v
struts.velocity.configfile }#a d
The Velocity configuration file path oypX.nye_
velocity配置文件路径 ft?J|AG
pV<18CaJ
struts.velocity.contexts .
p<*n6E
List of Velocity context names jbMzcn~ehI
velocity的context列表 pn{Nk1Pl
6]CY[qEaR$
+*lSB%`aS
struts.velocity.manager.classname u=p([
5]
org.apache.struts2.views.velocity.VelocityManager implementation class ro|dB
org.apache.struts2.views.velocity.VelocityManager接口名 X<vv:
m7~kRY514
struts.velocity.toolboxlocation ]@C&Q,~q
The location of the Velocity toolbox v>;6pcp[F
velocity工具盒的位置 $:{uF#
struts.xslt.nocache J XbG|L
Whether or not XSLT templates should not be cached ]M-j_("&
是否XSLT模版应该被缓存 z;2kKQZm