struts2的struts.properties配置文件详解 +twl`Z3n
#q#C_"
struts.action.extension ia6%>^
The URL extension to use to determine if the request is meant for a Struts action !tJQ75Hwv
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]-]K4*{
BJC$KmGk
struts.configuration ;+jz=9Q-
The org.apache.struts2.config.Configuration implementation class z-ns@y(f@X
org.apache.struts2.config.Configuration接口名 yK9:LXhf
&y_Ya%Z3*e
struts.configuration.files Pfi|RTX$'*
A list of configuration files automatically loaded by Struts :+#$=4
struts自动加载的一个配置文件列表 pZHx
;+C2P@M
struts.configuration.xml.reload cip5 -Z@8
Whether to reload the XML configuration or not b?i5C4=K
是否加载xml配置(true,false) |z1er"zR)
I(m*%>
struts.continuations.package 7W[+e&
The package containing actions that use Rife continuations +guCTGD:
含有actions的完整连续的package名称 &`x1_*l
Pa)'xfQ$Y6
struts.custom.i18n.resources dmA#v:$1
Location of additional localization properties files to load %[S-"k
加载附加的国际化属性文件(不包含.properties后缀) %vn"tp
YF8;s4
struts.custom.properties "qh~wK J
Location of additional configuration properties files to load ;Qn)~b~
加载附加的配置文件的位置 dbga >j
{:;6 *W
da'1H
struts.devMode J(>T&G;
Whether Struts is in development mode or not ;*(i}'
是否为struts开发模式 O,.c gX
O}s Mqh
struts.dispatcher.parametersWorkaround @tT2o@2Y^
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 6+UTEw;
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) M:M"7>:
{<cL@W
struts.enable.DynamicMethodInvocation v_|k:l
Allows one to disable dynamic method invocation from the URL NI
r"i2
允许动态方法调用 x`:c0y9uG
:%[mc-6.
struts.freemarker.manager.classname 0ZM#..3sI
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 'nIKkQ" N
org.apache.struts2.views.freemarker.FreemarkerManager接口名 {k}$L|w
L}=DC =E
struts.i18n.encoding Uee(1
The encoding to use for localization messages y
g:&cIr,
国际化信息内码 YMn*i<m
.QU]
struts.i18n.reload k*4!rWr0r&
Whether the localization messages should automatically be reloaded 1,7
是否国际化信息自动加载 -{XDQ{z<%
b|-}?@&7&q
struts.locale BaVooN~C
The default locale for the Struts application 5[y+X|Am
默认的国际化地区信息 gb{8SG5ac
}Y"vUl_I2
struts.mapper.class j=dGNi)R
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class i@`qam
org.apache.struts2.dispatcher.mapper.ActionMapper接口 <KX fh
!o`riQLs>
struts.multipart.maxSize S3UJ)@
E
The maximize size of a multipart request (file upload) BgT(~8'
multipart请求信息的最大尺寸(文件上传用) 4V&(w,zl
TKp2C5bX
struts.multipart.parser "+M0lGTB
The org.apache.struts2.dispatcher.multipart. 704_ehrlE
MultiPartRequest parser implementation for a multipart request (file upload) MTip4L W9
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 3#?53s
Tb:6IC7="
Q?V+
0J
struts.multipart.saveDir IISdC(5
The directory to use for storing uploaded files Dz&,g+>$J
设置存储上传文件的目录夹 iA<'i8$P
7|xu)zYB
struts.objectFactory 6p9 {z42
The com.opensymphony.xwork2.ObjectFactory implementation class Y(u`K=*
com.opensymphony.xwork2.ObjectFactory接口(spring) '#C5m#v
lc 3N i<3v
struts.objectFactory.spring.autoWire v@4vitbG9
Whether Spring should autoWire or not y=0)vi{]
是否自动绑定Spring j#Qnu0D
BRa9j:_b
struts.objectFactory.spring.useClassCache u#y#(1
=
Whether Spring should use its class cache or not LzxO=+=9!q
是否spring应该使用自身的cache 8aJJ??o{
^/VnRpU
struts.objectTypeDeterminer 5 B t~tt
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .D*~UI
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 )PkW,214#
_e/Bg~
struts.serve.static.browserCache +|x{?%.O
If static content served by the Struts filter should set browser caching header properties or not {V pk o
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 mMvAA;
Y/5(BK)
struts.serve.static mE=Ur
Whether the Struts filter should serve static content or not J$PlI
是否struts过滤器应该提供静态内容 i&8|@CACb
Sl-9im1
struts.tag.altSyntax h$}PQ
Whether to use the alterative syntax for the tags or not _%er,Ed
是否可以用替代的语法替代tags W/3sJc9
A;^ iy]"
struts.ui.templateDir +hKs
The directory containing UI templates C_'EO<w$
UI templates的目录夹 !^8X71W|
9]{va"pe7
struts.ui.theme hs5>Gx
The default UI template theme R(*t1R\
默认的UI template主题 xjSzQ|k-
cly} [<w!
struts.url.http.port LuHRB}W
The HTTP port used by Struts URLs a]Pw:lT
设置http端口 7r50y>
G"m?2$^-A
struts.url.https.port F,A+O+
The HTTPS port used by Struts URLs
q)f_!N
设置https端口 )iM(
\=1ff
mE5{)<N:C
struts.url.includeParams ] jY^*o[
The default includeParams method to generate Struts URLs i]N<xcF9N*
在url中产生 默认的includeParams
W~2,J4=
4'=Q:o*w`
?wv^X`Q*~
struts.velocity.configfile 2Wu`Dp;&l
The Velocity configuration file path -KV,l
velocity配置文件路径 FZO&r60$E
+7o1&D*v
struts.velocity.contexts j}tM0Ug.U
List of Velocity context names !tt 8-Y)i
velocity的context列表 h=,hYz?]
Zs{7km
!'~L dl
struts.velocity.manager.classname Y,GlAr s4
org.apache.struts2.views.velocity.VelocityManager implementation class sT"ICooc
org.apache.struts2.views.velocity.VelocityManager接口名 w|]Tt="
}<X* :%#b
struts.velocity.toolboxlocation
l`N4P
The location of the Velocity toolbox !L8q]]'XM
velocity工具盒的位置 /FE+WA}r
struts.xslt.nocache A_\Jb}J1<
Whether or not XSLT templates should not be cached 6IV):S~
是否XSLT模版应该被缓存 m~*qS4