struts2的struts.properties配置文件详解 }XO K,Hw
$6OkIP.
struts.action.extension 1cS}J:0P
The URL extension to use to determine if the request is meant for a Struts action mGp.3 {j
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 if|+EN%
<Ln1pV~k
struts.configuration 6KpHnSW
The org.apache.struts2.config.Configuration implementation class h3LE>}6D
org.apache.struts2.config.Configuration接口名 /x_o!<M
S4=~`$eP
struts.configuration.files 4RSHZAJg
A list of configuration files automatically loaded by Struts OQW#a[=WQ
struts自动加载的一个配置文件列表 T}V!`0vKw
x=ul&|^7D
struts.configuration.xml.reload qlL`jWJ
Whether to reload the XML configuration or not sl]_M
是否加载xml配置(true,false) R"
;xvo*
n a9sm
struts.continuations.package ]gYz
4OT
The package containing actions that use Rife continuations ~0beuK&p
含有actions的完整连续的package名称 <Utnz)
B2-V@06
struts.custom.i18n.resources Ecd;<$tk
Location of additional localization properties files to load GrUCZ<S
加载附加的国际化属性文件(不包含.properties后缀) `c<;DhNO
_%5Ro6
struts.custom.properties ]]Cb$$Td
Location of additional configuration properties files to load GB$;n?
加载附加的配置文件的位置 GGnpjwXeH
\"X!2
bGc~Wr|
struts.devMode ma"3qGy
Whether Struts is in development mode or not ]IoUwg pI)
是否为struts开发模式 VeW>[08
*:ZDd
struts.dispatcher.parametersWorkaround `s\?w5[
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic g!rQ4#4
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) .Fdgb4>BXX
N[s}qmPha
struts.enable.DynamicMethodInvocation -$\+'
\
Allows one to disable dynamic method invocation from the URL $0vb^
允许动态方法调用 6
J{k(H$3
zT!drq: x
struts.freemarker.manager.classname W[Ls|<Q
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;kY(<{ 2
org.apache.struts2.views.freemarker.FreemarkerManager接口名 &*+'>UEe5
"rx-_uK*
struts.i18n.encoding O^oWG&Y;v
The encoding to use for localization messages vQ;Ex
国际化信息内码 9I6a"PGDb
HZ'_r cv
struts.i18n.reload 0u;4%}pD
Whether the localization messages should automatically be reloaded :Zlwp6
是否国际化信息自动加载 ;M)QwF1
Zl^\Q=*s
struts.locale Wk)OkIFR
The default locale for the Struts application R}O_[
默认的国际化地区信息 [ucpd
'.:z&gSqx0
struts.mapper.class 6}d.5^7lr
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class o,_?^'@
org.apache.struts2.dispatcher.mapper.ActionMapper接口 n*2UnKaJ
JpXlBEio%
struts.multipart.maxSize hDF@'G8F
The maximize size of a multipart request (file upload) MF5[lK9e
multipart请求信息的最大尺寸(文件上传用) wB.&}p9p
C{U?0!^
struts.multipart.parser &5yVxL:
The org.apache.struts2.dispatcher.multipart. H{Wu]C<@p
MultiPartRequest parser implementation for a multipart request (file upload) W"k"IvTW}
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %5(I/zB
jYk&/@`Ly
Dfmjw
struts.multipart.saveDir hb}+A=A=+
The directory to use for storing uploaded files g:hjy@ w
设置存储上传文件的目录夹 5>[u `
Z&1\{PG3*
struts.objectFactory qm/)ku0
The com.opensymphony.xwork2.ObjectFactory implementation class ,U2*FZ["
com.opensymphony.xwork2.ObjectFactory接口(spring) $g>IyT[
aAD^^l#
struts.objectFactory.spring.autoWire ]n6#VTz*
Whether Spring should autoWire or not ]s<[D$ <,
是否自动绑定Spring t'n pG}`tE
-XB/lnG
struts.objectFactory.spring.useClassCache \NPmym_6J
Whether Spring should use its class cache or not .P8&5i)'P,
是否spring应该使用自身的cache T;r2.Pupn
!LNayk's>
struts.objectTypeDeterminer +S o4rA*9
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Ayxkv)%:@)
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6^]+[q}3
!|^|,"A)
struts.serve.static.browserCache UtoT
If static content served by the Struts filter should set browser caching header properties or not H?yK~bGQ
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,Lr.9I.
"\w 7q
struts.serve.static g6j?,c|y
Whether the Struts filter should serve static content or not 9jM}~XvV
是否struts过滤器应该提供静态内容 H\ F:95
(A9Fhun
struts.tag.altSyntax 0X6YdW _2X
Whether to use the alterative syntax for the tags or not +^60T$
是否可以用替代的语法替代tags TM%|'^)
LBYMCY
struts.ui.templateDir m*&]!mM"0G
The directory containing UI templates o#3ly-ht
UI templates的目录夹 ; ZA~p
d,k!qjf=r
struts.ui.theme T(id^ w
The default UI template theme E(>=rD /+
默认的UI template主题 P3x8UR=fS
NG+GEqx
struts.url.http.port "L IF.)
The HTTP port used by Struts URLs 9ijfRqI=x
设置http端口 3lrT3a3vV
11Q1AN
struts.url.https.port /:m->
T
The HTTPS port used by Struts URLs em%4Ap
设置https端口 Ni9/}bb
<? q?Mn
struts.url.includeParams ~!B\(@GU
The default includeParams method to generate Struts URLs 'OITI TM
在url中产生 默认的includeParams -*1d!
f,U.7E
;17E(tl
struts.velocity.configfile _>&X\`D
The Velocity configuration file path Yl
Zso2
velocity配置文件路径 ` Fa~
kMIcK4.MH
struts.velocity.contexts 8V'~UzK
List of Velocity context names zu_8># i-
velocity的context列表 D+TD 95t
}|h# \$w
Ua:}V n&!
struts.velocity.manager.classname I fK,b*%
org.apache.struts2.views.velocity.VelocityManager implementation class &GpRI(OB/+
org.apache.struts2.views.velocity.VelocityManager接口名 P78g/p T
g];!&R-
struts.velocity.toolboxlocation p_RsU`[
The location of the Velocity toolbox Wf+cDpK
velocity工具盒的位置 Snj'y,p[
struts.xslt.nocache 5AFJC?
Whether or not XSLT templates should not be cached is?{MJZ_
是否XSLT模版应该被缓存 .YtKS