struts2的struts.properties配置文件详解 g!FuY/%+
Z]A{ d[
struts.action.extension 8f_l}k$Eg
The URL extension to use to determine if the request is meant for a Struts action !eGC6o}f
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 E:,/!9n
sv2A-Dld
struts.configuration 2A']yD
The org.apache.struts2.config.Configuration implementation class ,cXD.y
org.apache.struts2.config.Configuration接口名 =%BSKSG.
a]$1D!Anc
struts.configuration.files 6`&a&%,O
A list of configuration files automatically loaded by Struts ML}J\7R
struts自动加载的一个配置文件列表 Y@NNrGDkT*
\e:7)R2<!x
struts.configuration.xml.reload wVvF^VHV^
Whether to reload the XML configuration or not 9)D6Nm
是否加载xml配置(true,false) ]RwpX ^ 1
,bZL C
struts.continuations.package ,dv+p&Tz2
The package containing actions that use Rife continuations -{KQr1{5UM
含有actions的完整连续的package名称 CLxynZ\ ;
{yBs7[Wn
struts.custom.i18n.resources 1m'k|Ka
Location of additional localization properties files to load On8v//=&
加载附加的国际化属性文件(不包含.properties后缀) "x#-sZ=
+UC G0D
struts.custom.properties T tfo^ksw
Location of additional configuration properties files to load eJrQ\>z]V&
加载附加的配置文件的位置 v>6"j1Z
~Sdb_EZ
0B[="rTS7#
struts.devMode v|Pv 03%?7
Whether Struts is in development mode or not 9d>-MX'
是否为struts开发模式 ]N/=Dd+|
aR[JD2G
struts.dispatcher.parametersWorkaround uY{|szC^2
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 2\)xpOj
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) mWv3!i;G<s
hM_lsc
struts.enable.DynamicMethodInvocation 99]R$eT8
Allows one to disable dynamic method invocation from the URL 'HO$C,1]
允许动态方法调用 kF3k7,.8&
d.[8c=$
struts.freemarker.manager.classname #?RU;1)Cw
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class b\ X@gq
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~]nRV *^
@tF\p
struts.i18n.encoding \|n-
O=}=2
The encoding to use for localization messages gGR"Z]DBk
国际化信息内码 EHSlK5bD,
OP;v bZ
struts.i18n.reload #F:p-nOq
Whether the localization messages should automatically be reloaded 2kqu p)82e
是否国际化信息自动加载 a f6M,{F
|e=,oV"
struts.locale oF vfCrd
The default locale for the Struts application ]v?@g:iE
默认的国际化地区信息 o m!!Sl 3
Juo^ ,
struts.mapper.class c|f<u{'
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class l\f*d6o
org.apache.struts2.dispatcher.mapper.ActionMapper接口 J;S
(>c
y3vdUauOn
struts.multipart.maxSize dR
K?~1
The maximize size of a multipart request (file upload) {5A2&
multipart请求信息的最大尺寸(文件上传用) J.3u^~zy
<3L5"77G6
struts.multipart.parser Dxtp2wu%t
The org.apache.struts2.dispatcher.multipart. S};#+ufgTt
MultiPartRequest parser implementation for a multipart request (file upload) B[qzUD*P_n
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ih@61>X.o*
!d'GE`w T
M|VyV(f
struts.multipart.saveDir 2Zm0qJ
The directory to use for storing uploaded files 87=&^.~`
设置存储上传文件的目录夹 +|*IZ:w)
<:_wbVn-
struts.objectFactory 9U7nKJ+iby
The com.opensymphony.xwork2.ObjectFactory implementation class ,t3wp#E2#
com.opensymphony.xwork2.ObjectFactory接口(spring) k3~}7]O)
b jy Zk_\
struts.objectFactory.spring.autoWire GL&y@6
Whether Spring should autoWire or not aasoW\UG
是否自动绑定Spring evenq$
H
6=kEyJT'
struts.objectFactory.spring.useClassCache L]yS[UN$
Whether Spring should use its class cache or not {GvJZ!,RCg
是否spring应该使用自身的cache ;i4Q|
S Q@y;|(
struts.objectTypeDeterminer o5d%w-'
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class tE.FrZS
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /{Is0+)
ag;Q F
struts.serve.static.browserCache /Jta^Bj
If static content served by the Struts filter should set browser caching header properties or not Y&`=jDI
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 W'els)WJ|x
u^&A W$
struts.serve.static K)6rY(x
>
Whether the Struts filter should serve static content or not \Bz_p'[G
是否struts过滤器应该提供静态内容 Y21g{$~Q{
AW%50V
struts.tag.altSyntax &)2i[X
Whether to use the alterative syntax for the tags or not 0mpX)S
是否可以用替代的语法替代tags #akpXdXs
-N6f1>}pE
struts.ui.templateDir 0Vj4+2?L5;
The directory containing UI templates D{!6Y*d6&s
UI templates的目录夹 'QJ:`)z
90Pl$#cb2
struts.ui.theme Fiv3 {.
The default UI template theme ,ZaRy$?
默认的UI template主题 p5Z"|\
<5d~P/,
struts.url.http.port FO+Zue.RS
The HTTP port used by Struts URLs Moy <@+
设置http端口 svsq g{9z
-#7'r<I9@
struts.url.https.port ,NOsFO-`<
The HTTPS port used by Struts URLs ~Io7]
设置https端口 j_/>A=OD
*lYVY)L
struts.url.includeParams 5c9^-|-T
The default includeParams method to generate Struts URLs ^"2i
在url中产生 默认的includeParams ~Uu4=
?:pP8/y
~Uj=^leYO
struts.velocity.configfile *RDn0d[
The Velocity configuration file path 2SD`OABf#
velocity配置文件路径 Ut*`:]la
c7<wZ
struts.velocity.contexts u$h
4lIl
List of Velocity context names i% w3 /m
velocity的context列表 8k2?}/+
5:\},n+VE
67VL@ ]
struts.velocity.manager.classname 63^O|y\W8
org.apache.struts2.views.velocity.VelocityManager implementation class *7:>EP
org.apache.struts2.views.velocity.VelocityManager接口名 Nc1"g1JR
>/g#lS 5
struts.velocity.toolboxlocation +"x,x
The location of the Velocity toolbox wHzEMwY_
velocity工具盒的位置 !-ok"k0,u
struts.xslt.nocache f6EZ(
v
Whether or not XSLT templates should not be cached \"qY "V
是否XSLT模版应该被缓存 Vl5`U'^qx