struts2的struts.properties配置文件详解 ,L2ZinU:
BKCiIfkZ
struts.action.extension 5Pc;5
o0C
The URL extension to use to determine if the request is meant for a Struts action 8Al{+gx@?
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 v4TQX<0s
-m zIT4
struts.configuration u{cW:
The org.apache.struts2.config.Configuration implementation class QT5TE: D
org.apache.struts2.config.Configuration接口名 a=_g*OK}D
o'aEY<mZ7
struts.configuration.files QE+g
j8
A list of configuration files automatically loaded by Struts 1ba~SHi
struts自动加载的一个配置文件列表 5DU6rks%
=j_4S<
struts.configuration.xml.reload %A/0 '
Whether to reload the XML configuration or not 9.M4o[
是否加载xml配置(true,false) n+9=1Oo"
*8 A
struts.continuations.package h+H%?:FX
The package containing actions that use Rife continuations >h9IM$2
含有actions的完整连续的package名称 )AtD}HEv
!?jrf ]
A@
struts.custom.i18n.resources M]
%?>G
Location of additional localization properties files to load KK4`l}Fk:n
加载附加的国际化属性文件(不包含.properties后缀) O`kl\K*R7
3*XNV
struts.custom.properties }"H,h)T
Location of additional configuration properties files to load R%WCH?B<}
加载附加的配置文件的位置 r|8d
4
cl3K<'D
a.\:T,cP>
struts.devMode a5^]20Fa
Whether Struts is in development mode or not sE<V5`Z=
是否为struts开发模式 7aRi5
!*&V-4
struts.dispatcher.parametersWorkaround ?p{Nwl#
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic y14;%aQN
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6Pnjmw.HV
1-uxC^u?|#
struts.enable.DynamicMethodInvocation m9WDT
Allows one to disable dynamic method invocation from the URL &ywPuTt
允许动态方法调用 ~Ffo-Nd-
:RTC!spy
struts.freemarker.manager.classname 4Z=_,#h4.
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class tS5hv@9cWx
org.apache.struts2.views.freemarker.FreemarkerManager接口名 #Vt%@*
i
Jt<_zn_FG
struts.i18n.encoding NNR`!Pty
The encoding to use for localization messages qr^3R&z!}
国际化信息内码 xt*
3'v
P1 8hxXE3
struts.i18n.reload -0 a/$h
Whether the localization messages should automatically be reloaded \)904W5R
是否国际化信息自动加载 XEp{VC@=
[!uG1 GJ>
struts.locale U$.@]F4&
The default locale for the Struts application gCS<iBT(7
默认的国际化地区信息 DJ k/{Z:
P )"m0Lu<
struts.mapper.class 2;`1h[,-^
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class b5I I/Y
org.apache.struts2.dispatcher.mapper.ActionMapper接口 /9*B)m"
$9#H04.x
struts.multipart.maxSize 6<SAa#@ey
The maximize size of a multipart request (file upload) J1|\Q:-7p
multipart请求信息的最大尺寸(文件上传用) l/GGCnO/
6vo;!V6
struts.multipart.parser }OR@~V{Gj
The org.apache.struts2.dispatcher.multipart. @})|Z}~
MultiPartRequest parser implementation for a multipart request (file upload) E0=)HTtS
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,eW%{[g(
^ogt+6c
GW@;}m(
struts.multipart.saveDir sqwGsO$#
The directory to use for storing uploaded files jXx<`I+]
设置存储上传文件的目录夹 Yui3+}Ms
rQs)O<jl
struts.objectFactory 3{64 @s
The com.opensymphony.xwork2.ObjectFactory implementation class #4%]o%.
com.opensymphony.xwork2.ObjectFactory接口(spring) O,
wJR
K(rWNO
struts.objectFactory.spring.autoWire [wOn|)&
&
Whether Spring should autoWire or not )p0^zv{
是否自动绑定Spring l`{\"#4
=`F(B
struts.objectFactory.spring.useClassCache IB"w&