struts2的struts.properties配置文件详解 \AI-x$5R*
qM3NQ8Rm
struts.action.extension keQRS+9
The URL extension to use to determine if the request is meant for a Struts action m%;LJ~R
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Z"Q9^;0%
"85)2*+
struts.configuration SuI^8^f=
The org.apache.struts2.config.Configuration implementation class ($UUgjv F
org.apache.struts2.config.Configuration接口名 >bmdu\j5R
O\=Zo9(NHF
struts.configuration.files 5mL4Zq"
A list of configuration files automatically loaded by Struts w4Hq|N1-Y
struts自动加载的一个配置文件列表 kbH@h2Ww
+_*iF5\
struts.configuration.xml.reload %ib7)8Ki0
Whether to reload the XML configuration or not yP` K [/
是否加载xml配置(true,false) .*+jD^Gr
muK.x7zyl
struts.continuations.package /c!^(5K
fT
The package containing actions that use Rife continuations F]N?_ bo
含有actions的完整连续的package名称 ;>5]KNj
|RXXj [z
struts.custom.i18n.resources P,G
:9x"e
Location of additional localization properties files to load OYmutq
加载附加的国际化属性文件(不包含.properties后缀) TB<$9FCHK
+l]>(k.2
struts.custom.properties .Tw:Y,G
Location of additional configuration properties files to load ,5T1QWn^f
加载附加的配置文件的位置 y
La E]
bl10kI:F
qMA";Frt3N
struts.devMode d}|z+D
Whether Struts is in development mode or not !N][W#:
是否为struts开发模式 k`z]l;:
) 3f\H
struts.dispatcher.parametersWorkaround 0#m=76[b
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic t-}IKrbv
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) m9DTz$S.
M*Q}^<E*
struts.enable.DynamicMethodInvocation =E(ed,gH8
Allows one to disable dynamic method invocation from the URL 6p&uifY}tR
允许动态方法调用 |-cXb.M[
Oi@|4mo
struts.freemarker.manager.classname f|/ ,eP$
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;v.J
D7
org.apache.struts2.views.freemarker.FreemarkerManager接口名 P)Oe?z;G?
6V6Mo}QF
s
struts.i18n.encoding FGm!|iI
The encoding to use for localization messages <7L-25 =
国际化信息内码 }1CvbB%,A
>@-.rkd(
struts.i18n.reload tehWGqx)
Whether the localization messages should automatically be reloaded ,":_CY4(
是否国际化信息自动加载 i],~tT|P
zYWVz3l
struts.locale }5$le]
The default locale for the Struts application [
`_sH\
默认的国际化地区信息 W+4Bx=Mj
qwn EVjf
struts.mapper.class B
T
{cTj0W
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7Xh @%[
org.apache.struts2.dispatcher.mapper.ActionMapper接口 7*WO9R/
RjrQDh|((
struts.multipart.maxSize C}L2'l,
The maximize size of a multipart request (file upload) O CCC' k
multipart请求信息的最大尺寸(文件上传用) `JGW8 _
C58B(Ndo
struts.multipart.parser I1K %n'D
The org.apache.struts2.dispatcher.multipart. `/i/AZ{
MultiPartRequest parser implementation for a multipart request (file upload) Q{miI
N
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;/IXw>O(/
J^PFhu
z fy(j
struts.multipart.saveDir Z^WI~B0nt
The directory to use for storing uploaded files lKqFuLHwF
设置存储上传文件的目录夹 y;P%=MP
i!(5y>I_
struts.objectFactory '9&@?P;
The com.opensymphony.xwork2.ObjectFactory implementation class Q?`s4P)14o
com.opensymphony.xwork2.ObjectFactory接口(spring) {Dy,u%W?
#~w~k+E4
struts.objectFactory.spring.autoWire Z\n^m^Z
=
Whether Spring should autoWire or not i`iR7UmHeR
是否自动绑定Spring h^14/L=|
hwi_=-SL
struts.objectFactory.spring.useClassCache 7pnlS*E.
Whether Spring should use its class cache or not oBo |eRIt|
是否spring应该使用自身的cache nCA~=[&H
LA/Qm/T
struts.objectTypeDeterminer 34_
V&8
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class aQ&K a
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 L[`8 :}M
QWC C
struts.serve.static.browserCache *Aug7
HlS
If static content served by the Struts filter should set browser caching header properties or not ? 5OK4cR
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 KAu>U3\/
xv%]g=Q
struts.serve.static giesof
Whether the Struts filter should serve static content or not {/48n83n
是否struts过滤器应该提供静态内容 r-]%R:U*
:6o|6MC!
struts.tag.altSyntax :wUi&xw
Whether to use the alterative syntax for the tags or not s<3M_mt
是否可以用替代的语法替代tags <