struts2的struts.properties配置文件详解 y-TS?5Dr]
rVx%"_'*-
struts.action.extension #mNM5(o
The URL extension to use to determine if the request is meant for a Struts action i%8I (F
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 H\\0V.}!
$vC!Us{z
struts.configuration "?Eh_Dw
The org.apache.struts2.config.Configuration implementation class s\6kXR
org.apache.struts2.config.Configuration接口名 .&AS-">Z
~L G).
struts.configuration.files 8 ]N
A list of configuration files automatically loaded by Struts q89#Ftkt
struts自动加载的一个配置文件列表 ztNm,1pnQ
4|Dxyb>pS
struts.configuration.xml.reload Z)6gh{B08
Whether to reload the XML configuration or not s!Xj'H7K
是否加载xml配置(true,false) U}55;4^LX
O3JN?25s
struts.continuations.package SEn-8ZF
The package containing actions that use Rife continuations Rl7V~dUY
含有actions的完整连续的package名称 +)#d+@-
|-Z9-rl
struts.custom.i18n.resources MOuI;EF
Location of additional localization properties files to load >g]S"ku|
加载附加的国际化属性文件(不包含.properties后缀) aN7VGc
ZE@!s3\
struts.custom.properties 30(O]@f~
Location of additional configuration properties files to load %C_RBd
加载附加的配置文件的位置 6OJ`R.DM`
$z!o&3c'x
)p&FDK#ob=
struts.devMode 4}FuoQL
Whether Struts is in development mode or not NJG-~w
是否为struts开发模式 A#gmKS<J/7
7u"t4Or
struts.dispatcher.parametersWorkaround 2,c{Z$\kn
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9Z,vpTE
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) !\Y85o>JU
w`(EW>i
struts.enable.DynamicMethodInvocation FnN@W^/z
Allows one to disable dynamic method invocation from the URL 85rXm*Df
允许动态方法调用 qNP&f8fH
E?o1&(2p
struts.freemarker.manager.classname 28u)q2s^W|
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class A7*<,]qT
org.apache.struts2.views.freemarker.FreemarkerManager接口名 v,N*vqWS
.z
u0GsU=
struts.i18n.encoding f?wn;;z`
The encoding to use for localization messages j$ h.V#1z
国际化信息内码 sT"U}
%t&n%dhJ
struts.i18n.reload Y%v?ROql
Whether the localization messages should automatically be reloaded `)`J
是否国际化信息自动加载 d`D<PT(\
)GDP?Nc<Ik
struts.locale lE~5 b
The default locale for the Struts application b[<zT[.:
默认的国际化地区信息 qEC-'sl<
U^trZ])
struts.mapper.class cD&53FPXC
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class B w1ir
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Om%{fq&
LXr
yv;H
struts.multipart.maxSize jTbJL
The maximize size of a multipart request (file upload) _RT3Fk
multipart请求信息的最大尺寸(文件上传用) CQf!<
cXx?MF5
struts.multipart.parser &n>\ +Q
The org.apache.struts2.dispatcher.multipart. EQDsbG0x
MultiPartRequest parser implementation for a multipart request (file upload) c"w}<8
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) [hs_HYqJ
_&TA|Da
%./vh=5)
struts.multipart.saveDir H]V@Q~?e
The directory to use for storing uploaded files UPs*{m
设置存储上传文件的目录夹 ?{W@TY@S
29DYL
struts.objectFactory gF(aYuk
The com.opensymphony.xwork2.ObjectFactory implementation class 8A{n9>jrb
com.opensymphony.xwork2.ObjectFactory接口(spring) .CI {g2
q@K;u[zFK
struts.objectFactory.spring.autoWire rPoPs@CBD
Whether Spring should autoWire or not p\]Mf#B
是否自动绑定Spring *NdSL
`y5?lS*
struts.objectFactory.spring.useClassCache Ca]+*Eb9z{
Whether Spring should use its class cache or not 1
"'t5?XW
是否spring应该使用自身的cache t|Cp<k]B
uGIA4CUm
struts.objectTypeDeterminer 1!,xB]v1Ri
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3.M<ATe^
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :<ye:P1s
%|L+~ =
struts.serve.static.browserCache m6J7)Wp
If static content served by the Struts filter should set browser caching header properties or not 7%C6hEP/*W
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <aJdm!6
T4,dhS|
struts.serve.static (Zi(6 T\z
Whether the Struts filter should serve static content or not 8?ldD
是否struts过滤器应该提供静态内容 q_eGY&M
S(kj"t*3
struts.tag.altSyntax \.+.VK
Whether to use the alterative syntax for the tags or not J%d\ 7
是否可以用替代的语法替代tags BdcTKC
_5'OQ'P2
struts.ui.templateDir ]-d:wEj
The directory containing UI templates UR|UGldt_T
UI templates的目录夹 ~kUdHne(
XXsN)2
struts.ui.theme *-~B{2b<
The default UI template theme aIV(&7KT4
默认的UI template主题 07WZ w1(;
a+!#cQl
struts.url.http.port x/*ndH
The HTTP port used by Struts URLs 4.)hC b
设置http端口 +b_g,RNs!
7=yC*]BH-=
struts.url.https.port @/i;/$\
The HTTPS port used by Struts URLs %N 8/g]`7
设置https端口 hA1\+r
{2<A\nW
struts.url.includeParams cI)T@Zg_o+
The default includeParams method to generate Struts URLs c,%9Fh?(
在url中产生 默认的includeParams mo1(dyjx
1vlRzkd
N1rBpt
struts.velocity.configfile ^R.kThG
The Velocity configuration file path rYUhGmg`
velocity配置文件路径 ^:g8mt
tFLdBv!=:^
struts.velocity.contexts t]?u<KD<
List of Velocity context names +JoE[;
velocity的context列表 ZS51QB
jj^{^,z\
>vE1,JD)w
struts.velocity.manager.classname yi`Z(j;
org.apache.struts2.views.velocity.VelocityManager implementation class "Sp+Q&2U
org.apache.struts2.views.velocity.VelocityManager接口名 | k"?I
d&K2\n
struts.velocity.toolboxlocation )SG+9!AbMZ
The location of the Velocity toolbox @T53%v<5
velocity工具盒的位置 b~?FV>gl
struts.xslt.nocache u/?s_OR
Whether or not XSLT templates should not be cached KLv`Xg \
是否XSLT模版应该被缓存 _,V
9^