struts2的struts.properties配置文件详解 '/H(,TM
Ds87#/Yfv
struts.action.extension ~{+{p cO}
The URL extension to use to determine if the request is meant for a Struts action 9^ r
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 88>Uu!M=f
vs. uq
struts.configuration x3s^u~C)(w
The org.apache.struts2.config.Configuration implementation class {K9E% ,w
org.apache.struts2.config.Configuration接口名 MQ*#oVqv
|&Pl 4P
struts.configuration.files +_eb*Z`5o
A list of configuration files automatically loaded by Struts xiF%\#N
struts自动加载的一个配置文件列表 )!d1<p3
17cW8\
struts.configuration.xml.reload .e"Qv*[^
Whether to reload the XML configuration or not MI(i%$R-A
是否加载xml配置(true,false) 4c=kT@=jX
5Mr;6
]I<
struts.continuations.package u =kSs
The package containing actions that use Rife continuations N
>!xedw=
含有actions的完整连续的package名称 [bv@qBL
@WHd(ka!
struts.custom.i18n.resources 3~</lAm;
Location of additional localization properties files to load HzV+g/8>A
加载附加的国际化属性文件(不包含.properties后缀) ^qqHq
Yd;r8rN
struts.custom.properties udGGDH
Location of additional configuration properties files to load %h"<
IA
S.
加载附加的配置文件的位置 A{2$hKqHi
z4641q5'm
ennz/'
struts.devMode -^H5z+"^
Whether Struts is in development mode or not vkpV,}H
是否为struts开发模式 4p8jV*:@{
g
u =fq\`
struts.dispatcher.parametersWorkaround X-$td~r
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ro]IE|Fv
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %`QsX {?,
.p9h$z^
struts.enable.DynamicMethodInvocation gVU\^KN]
Allows one to disable dynamic method invocation from the URL yl<$yd0Zdu
允许动态方法调用
hu(K!>{
&PuJV + y
struts.freemarker.manager.classname ' 1'1T5x~
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $Q?G*@y
org.apache.struts2.views.freemarker.FreemarkerManager接口名 $D s]\j*
6Y)^)dOi
struts.i18n.encoding HoE.//b
The encoding to use for localization messages Gu`Vk/&
国际化信息内码 S1juAV=
SP7g qM
struts.i18n.reload ~|{)h^]@
Whether the localization messages should automatically be reloaded q;../h]Ne
是否国际化信息自动加载 Qz) 8eIO:
l;}7A,u
struts.locale $a*Q).^
The default locale for the Struts application |C6(0fgWd
默认的国际化地区信息 pZ~>l=-
/B@%pq
struts.mapper.class 1+tt'
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class T0v@mXBQ
org.apache.struts2.dispatcher.mapper.ActionMapper接口 sq(Ar(L<
m2uML*&O5K
struts.multipart.maxSize gDNTIOV
The maximize size of a multipart request (file upload) P9i9<pR
multipart请求信息的最大尺寸(文件上传用) g~hk-nXL.
gVA}?t;
struts.multipart.parser b/,!J]W
The org.apache.struts2.dispatcher.multipart. "8iiRzt#
MultiPartRequest parser implementation for a multipart request (file upload) a]Da`$T
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <<On*#80w
0rJ\e
mz$Wo *FB
struts.multipart.saveDir 5;MK1l
The directory to use for storing uploaded files PtQ#
设置存储上传文件的目录夹 H"GE\
.cT$h?+jyl
struts.objectFactory m)|.:sj
The com.opensymphony.xwork2.ObjectFactory implementation class >)J47j7{c
com.opensymphony.xwork2.ObjectFactory接口(spring) (zJ$oRq
f+TBs_
struts.objectFactory.spring.autoWire Q`p}X&^a
Whether Spring should autoWire or not _l!U[{l*d
是否自动绑定Spring B,vHn2W
zNr_W[
struts.objectFactory.spring.useClassCache ds$ \vSd
Whether Spring should use its class cache or not <x0uO
是否spring应该使用自身的cache S5E,f?l
lmtQr5U
struts.objectTypeDeterminer N<Z)b!o%u
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 1Q&WoJLfR
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .)^3t~
G<u.+V
struts.serve.static.browserCache @t;O"q'|
If static content served by the Struts filter should set browser caching header properties or not 0]eh>ab>
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 kk_9G-M
$,&gAU
struts.serve.static Q0q)n=i}]
Whether the Struts filter should serve static content or not snTJe[^d
是否struts过滤器应该提供静态内容 Avv
%YvSHh;c
struts.tag.altSyntax U8QR*"GmT
Whether to use the alterative syntax for the tags or not 8A8xY446)
是否可以用替代的语法替代tags Tu=eQS|'
d%_78nOh"
struts.ui.templateDir lQ<#jxp
The directory containing UI templates ]IHD:!Z-=
UI templates的目录夹 *@G(3 n
3<)@ll
struts.ui.theme g"Q}h
The default UI template theme 01-\:[{
默认的UI template主题 s9_`Wrg?
q0b`HD
struts.url.http.port # McK46B z
The HTTP port used by Struts URLs <^*+8{*
设置http端口 {*<O"|v
OHtgn
struts.url.https.port m.HX2(&\3
The HTTPS port used by Struts URLs _!C)r*0(
设置https端口 0.u9f`04
>Oi2gPA
struts.url.includeParams jsqUMy-
The default includeParams method to generate Struts URLs ek(kY6x:
在url中产生 默认的includeParams 3D$\y~HU
<r7qq$
zqvRkMWc M
struts.velocity.configfile V
4\^TO`q=
The Velocity configuration file path e}?1T7NPG]
velocity配置文件路径 *2"bG1`
A4#3O5kij
struts.velocity.contexts "
g0-u(Y
List of Velocity context names liugaRO8J
velocity的context列表 9N*S-Po=
j:v~MrQ7|
C>JekPeM
struts.velocity.manager.classname hyk|+z`B
org.apache.struts2.views.velocity.VelocityManager implementation class Z/NGv
org.apache.struts2.views.velocity.VelocityManager接口名 ,Ou1!`6?t
RFZU}.*K$
struts.velocity.toolboxlocation [$1: &!(!
The location of the Velocity toolbox qL%.5OCn(
velocity工具盒的位置 0uVk$\:i
struts.xslt.nocache 1IOo?e=/bM
Whether or not XSLT templates should not be cached =qV4Sje|q
是否XSLT模版应该被缓存 ;"d ,~nLn