struts2的struts.properties配置文件详解 TrCut2
Lb]!TOl
struts.action.extension
=&T%Jm}
The URL extension to use to determine if the request is meant for a Struts action d?:KEi-<7
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 M>qqe! c*
yz}ik^T
struts.configuration OSoIH`tA
The org.apache.struts2.config.Configuration implementation class .A6D&-&z
org.apache.struts2.config.Configuration接口名 >0F)^W?
ncGt-l<9
struts.configuration.files #`]`gNB0Yg
A list of configuration files automatically loaded by Struts ej91)3AO
struts自动加载的一个配置文件列表 8c`EB-y
H!'Ek[s+
struts.configuration.xml.reload ycq+C8J+Ep
Whether to reload the XML configuration or not n(uzqd
是否加载xml配置(true,false) b~$8<\
|j}D2q=
struts.continuations.package 35Ro85j
The package containing actions that use Rife continuations N\l|3~
含有actions的完整连续的package名称
5ENU}0W
h"0)g:\
struts.custom.i18n.resources :o3>
Location of additional localization properties files to load p=!12t
加载附加的国际化属性文件(不包含.properties后缀) []lMv
ZW
L"KKW
c
struts.custom.properties p!>5}f6
Location of additional configuration properties files to load knn9s0'Q
加载附加的配置文件的位置 2Tp@;[!3
Q~R% |Q{&
tm1#Lh0
struts.devMode vh"wXu
Whether Struts is in development mode or not 0Q7|2{
是否为struts开发模式 ?K\r-J!Y
ZH)Jq^^RI
struts.dispatcher.parametersWorkaround ^HhV?Iqg
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic n\ 'PNB
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) bL`>#M_^
;n q"jm
struts.enable.DynamicMethodInvocation bvW3[ V
Allows one to disable dynamic method invocation from the URL _Z>ny&
允许动态方法调用 l{I.l
IayF<y,8
struts.freemarker.manager.classname !'eh@BU;
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class s%QCdU ]
org.apache.struts2.views.freemarker.FreemarkerManager接口名 tWyl&,3?1
oeYUsnsbi
struts.i18n.encoding 2=
Y8$-
The encoding to use for localization messages w=_q<1a
国际化信息内码 }y1r
yeW<
CKnPMvmz
struts.i18n.reload 2T?8{yO7
Whether the localization messages should automatically be reloaded c(b2f-0!4
是否国际化信息自动加载 B/*\Ih9y
s
!IvUc7'
struts.locale 8e5imei
The default locale for the Struts application W(}2R>$
默认的国际化地区信息 b*(,W
-x{@D{Q%
struts.mapper.class ,. zHG
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class I`77[
org.apache.struts2.dispatcher.mapper.ActionMapper接口 @;G%7&ps
-lqD
struts.multipart.maxSize q`VkA
\
The maximize size of a multipart request (file upload) j[,XJ,5=
multipart请求信息的最大尺寸(文件上传用) I5*<J n
m\oxS;fxWi
struts.multipart.parser ;m=k
FZ?
The org.apache.struts2.dispatcher.multipart. 2KlVj]!7
MultiPartRequest parser implementation for a multipart request (file upload) &^`[$LtYd
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) shD4";8*@
\sAkKPI
d]USk&8
struts.multipart.saveDir !K-qoBqKM
The directory to use for storing uploaded files X$Shi
*U[
设置存储上传文件的目录夹 N\"Hf=Y(~
X?YT>+g;
struts.objectFactory % *ng *
The com.opensymphony.xwork2.ObjectFactory implementation class 'l<