struts2的struts.properties配置文件详解 9 ?MOeOV8
RNRMw;cT
struts.action.extension Lt@4F
The URL extension to use to determine if the request is meant for a Struts action 9w11kut-!
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #T#&qo#
&5(|a"5+G
struts.configuration X[j4V<4O
The org.apache.struts2.config.Configuration implementation class V,|l&-
org.apache.struts2.config.Configuration接口名 +]I;C
#mk#&i3"k
struts.configuration.files ?F
AsV&y
A list of configuration files automatically loaded by Struts b1nw,(hLY
struts自动加载的一个配置文件列表 r$k
*:A$%
eff6=DP
struts.configuration.xml.reload )\`TZLR
Whether to reload the XML configuration or not ^=OjsN
是否加载xml配置(true,false) x"8(j8e
;NLL?6~
struts.continuations.package @ewQx|
The package containing actions that use Rife continuations b[GZ sXD-
含有actions的完整连续的package名称 #q==GT7
Y)c9]1qly
struts.custom.i18n.resources 9m!4 U2N,s
Location of additional localization properties files to load u\Fq\_
加载附加的国际化属性文件(不包含.properties后缀) \{{B57/Isq
Y<w2_ +(
struts.custom.properties nHD4J;l
Location of additional configuration properties files to load PS`)6yn{_
加载附加的配置文件的位置 N(t1?R/e,
t.lm`=
c#u-E6
struts.devMode egx(N
<
Whether Struts is in development mode or not kn+`2-0
是否为struts开发模式 COJqVC(#
-M%n<,XN0
struts.dispatcher.parametersWorkaround ZN%$k-2
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ,GVHwTZ0`
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) NZ7a^xT_)
lG%oqxJ+ L
struts.enable.DynamicMethodInvocation (d4zNYK
Allows one to disable dynamic method invocation from the URL )l[ +7
允许动态方法调用 :V}8a!3h
i @+Cr7K,
struts.freemarker.manager.classname e3)rF5pp
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Lkqu"V
org.apache.struts2.views.freemarker.FreemarkerManager接口名 H'?Bx>X
g 4Vt"2|
struts.i18n.encoding >/5D/}4
The encoding to use for localization messages ]~3wq[O
国际化信息内码 s)
V7$D
lG fO
struts.i18n.reload UupQ*,dJ
Whether the localization messages should automatically be reloaded gOgG23 x
是否国际化信息自动加载 N5%~~JRO
@8n0GCv
struts.locale h-lMrI)U?h
The default locale for the Struts application `!!A;G7Qg
默认的国际化地区信息 d/P$q MD
!Aunwq^
struts.mapper.class MI',E?#yB
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;S,g&%N
org.apache.struts2.dispatcher.mapper.ActionMapper接口 [OH>NpL
wpx,~`&
struts.multipart.maxSize @_N -> l
The maximize size of a multipart request (file upload) ; bP7|
multipart请求信息的最大尺寸(文件上传用) ;PG'em
PJO;[:
.I
struts.multipart.parser ,_\h)R_
The org.apache.struts2.dispatcher.multipart. la|#SS95
MultiPartRequest parser implementation for a multipart request (file upload) 3,N7Nfe
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) wT*`Od8w
D!qtb6<.
3Y=T8Gi#
struts.multipart.saveDir =wS:)%u
The directory to use for storing uploaded files ]vKxgfF
设置存储上传文件的目录夹 bTHJb pt*-
?G!^|^S*
struts.objectFactory z0g$+bhy
The com.opensymphony.xwork2.ObjectFactory implementation class ^Ud`2 OW;2
com.opensymphony.xwork2.ObjectFactory接口(spring) eUF PzioW
>6jyd{
struts.objectFactory.spring.autoWire .!)7x3|$[
Whether Spring should autoWire or not &(Xp_3PO
是否自动绑定Spring G>#L
8 hWQ
struts.objectFactory.spring.useClassCache LoBKR
c2t
Whether Spring should use its class cache or not L d#
是否spring应该使用自身的cache Z!LzyCVl
, aawtdt/
struts.objectTypeDeterminer Zh3]bg5
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class } c&Zv#iO6
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 I&1Mh4yu
H(?z?2b p
struts.serve.static.browserCache !aLByMA
If static content served by the Struts filter should set browser caching header properties or not #-e3m/>
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 j}0*`[c
w
:^b3@gd
struts.serve.static g*Cs/w
Whether the Struts filter should serve static content or not m#%5H
是否struts过滤器应该提供静态内容 .0\Wu+
Q?[k>fu0
struts.tag.altSyntax zZ;tSKL
Whether to use the alterative syntax for the tags or not U%w-/!p
是否可以用替代的语法替代tags %o^'(L@z
3=;iC6
`
struts.ui.templateDir ijyj}gpWha
The directory containing UI templates W&+UF'F2
UI templates的目录夹 eDTEy;^o
mE^6Zu
struts.ui.theme ^f3F~XhY3
The default UI template theme sVh!5fby&
默认的UI template主题 o`G'E&
E\RQm}Z09
struts.url.http.port nX?fj<oR|
The HTTP port used by Struts URLs /*D]4AK
设置http端口 6PJ0iten
*h-nI=
struts.url.https.port EZBk;*=B
The HTTPS port used by Struts URLs (M5=8g%>d
设置https端口 V=E9*$b]
^dqyX(
struts.url.includeParams M-|4cd]6
The default includeParams method to generate Struts URLs 9^Wj<
在url中产生 默认的includeParams LvW9kL+WiQ
S=M$g#X`5
$ n
7dIE
struts.velocity.configfile Z;??j+`Eo
The Velocity configuration file path v*3ezf\
velocity配置文件路径 ULQ*cW&;?
^5"s3Qn
struts.velocity.contexts oD!72W_:
List of Velocity context names 3G5i+9Nt.L
velocity的context列表 $&lS7}
O'$:wc#
pw&l.t6.
struts.velocity.manager.classname \Sg&Qv`
org.apache.struts2.views.velocity.VelocityManager implementation class u49/LtB\
org.apache.struts2.views.velocity.VelocityManager接口名 /r}t
xPsuDi8u
struts.velocity.toolboxlocation |!rD2T\Ef
The location of the Velocity toolbox Pme`UcE3H
velocity工具盒的位置 rq2XFSXn
struts.xslt.nocache oa;[[2c
Whether or not XSLT templates should not be cached 1Qf5H!5vx
是否XSLT模版应该被缓存 i"|'p/9@q