struts2的struts.properties配置文件详解 sWc_,[b
E0o?rgfdq
struts.action.extension R&`; C<6}D
The URL extension to use to determine if the request is meant for a Struts action 7eyVm;LQD
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _'"whZ)2
zj9)vr`7
struts.configuration /\0rRT
The org.apache.struts2.config.Configuration implementation class ,fa'
org.apache.struts2.config.Configuration接口名 2[8C?7_K0?
}KZt7)
struts.configuration.files |)vC^=N{+
A list of configuration files automatically loaded by Struts ^[]@dk9
struts自动加载的一个配置文件列表 ~dFdO7
d@ ?++z
struts.configuration.xml.reload #OT8_D
Whether to reload the XML configuration or not {r,MRZaa
是否加载xml配置(true,false) !lk
-MN.
:4V8Iz 71
struts.continuations.package %Ct^{k~1
The package containing actions that use Rife continuations
nGqD{!i<
含有actions的完整连续的package名称 Z&VH7gi
x]=s/+Y
struts.custom.i18n.resources 7ZsBYP8%
Location of additional localization properties files to load
RrG5`2
加载附加的国际化属性文件(不包含.properties后缀) 7i$)iNW
sOY+X
struts.custom.properties $yA>j (k4
Location of additional configuration properties files to load x&kM /z?/
加载附加的配置文件的位置 ~5Cid)Q}@o
&Is}<Ew
&*4C{N
struts.devMode VoTnm
Whether Struts is in development mode or not bz1+AJG
是否为struts开发模式 kU
{>hG4
1YrIcovi-
struts.dispatcher.parametersWorkaround ZVin+ z
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $xK2M
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 'fGB#uBt
$gv3Up"U
struts.enable.DynamicMethodInvocation jrl'?`O
Allows one to disable dynamic method invocation from the URL y|7sh
允许动态方法调用 qZS]eQW.
@3Lh/&
struts.freemarker.manager.classname Yi5^#G
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Gz,?e]ZV
org.apache.struts2.views.freemarker.FreemarkerManager接口名 @> ]O6P2
;;zQV D )X
struts.i18n.encoding nbMxQODk
The encoding to use for localization messages ;
m]KKB
国际化信息内码 ,Y\`n7Ww
m 3Y@p$i5
struts.i18n.reload fQkfU;5
Whether the localization messages should automatically be reloaded t6+c"=P#
是否国际化信息自动加载 ]"2;x
!pqfx93R*
struts.locale XDt MFig
The default locale for the Struts application 1[g -f,
默认的国际化地区信息 u Sl&d
u3B[1Ae:K
struts.mapper.class 6Kbc:wlR
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class E<~Fi.M;\
org.apache.struts2.dispatcher.mapper.ActionMapper接口 o^!_S5zKe.
djk?;^8
struts.multipart.maxSize Jx jP'8
The maximize size of a multipart request (file upload) T{"[Ih3Mbl
multipart请求信息的最大尺寸(文件上传用) KqD]GS#(
(T9Q6\sa
struts.multipart.parser hT0[O
The org.apache.struts2.dispatcher.multipart. \{8?HjJEM
MultiPartRequest parser implementation for a multipart request (file upload) ]+
KN9
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) L*QX21@wC
EDA%qNd]j
S#{jyU9 ]
struts.multipart.saveDir <0w"$.K#3
The directory to use for storing uploaded files cR*5iqA
设置存储上传文件的目录夹 @BfJb[A#
:< d.
struts.objectFactory I0qSx{K
The com.opensymphony.xwork2.ObjectFactory implementation class 0'QX*xfa>
com.opensymphony.xwork2.ObjectFactory接口(spring) J2BCaAwEP,
XsXO S8
struts.objectFactory.spring.autoWire i0TbsoKh:
Whether Spring should autoWire or not (\8~W*ej"
是否自动绑定Spring RXD*;B$v
~\oF}7l$
struts.objectFactory.spring.useClassCache p|gzU$FWbk
Whether Spring should use its class cache or not :Rftn6!
是否spring应该使用自身的cache J\@W+/#dF
!2o1c
struts.objectTypeDeterminer [qL{w&R
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class i!a.6Gq
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 )/y7Fh
Mjon++>Z
struts.serve.static.browserCache wwuM!Z+
If static content served by the Struts filter should set browser caching header properties or not k Xg&}n7
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Lhz*o6)
Sk6B>O <:
struts.serve.static zJ
$&`=
Whether the Struts filter should serve static content or not '-l.2IUyT
是否struts过滤器应该提供静态内容 9zL(PkC%\
E
xls_oSp
struts.tag.altSyntax }mYxI^n
Whether to use the alterative syntax for the tags or not 3T= ?!|e
是否可以用替代的语法替代tags ;(3!#4`q(]
)z^NJ'v4(
struts.ui.templateDir K7-z.WTUR
The directory containing UI templates 8)o%0#;0B
UI templates的目录夹 hE;|VSdo
0Xw$l3@N^
struts.ui.theme T2ZB(B D
The default UI template theme Dx5X6 t9=
默认的UI template主题 EEn8]qJC
@"G+kLv0
struts.url.http.port dHsI<