struts2的struts.properties配置文件详解 L
=kc^dU
wf=
s-C
struts.action.extension y
;$8C
The URL extension to use to determine if the request is meant for a Struts action ZM~kc|&
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 >O:31Uk
7 q%|-`#
struts.configuration ;hsem,C h7
The org.apache.struts2.config.Configuration implementation class w!=Fi
org.apache.struts2.config.Configuration接口名 2KUm(B.I
38[k o3
struts.configuration.files +@QN)ZwVy
A list of configuration files automatically loaded by Struts EP|OKXRltA
struts自动加载的一个配置文件列表 z`^DQ8+\j
ZDI%?.U
struts.configuration.xml.reload Ev R6^n/
Whether to reload the XML configuration or not >Y h7By
是否加载xml配置(true,false) n8!qz:z/
?ep'R&NV
struts.continuations.package 0
tZ>yR
The package containing actions that use Rife continuations qJQ!e
含有actions的完整连续的package名称 ,EAf/2C
mv,<#<-W
struts.custom.i18n.resources B4<W%lm
Location of additional localization properties files to load RO([R=.`/
加载附加的国际化属性文件(不包含.properties后缀) vu&%e\gM
%|3I|'%Y
struts.custom.properties T JB)]d<
Location of additional configuration properties files to load lR^OS*v
加载附加的配置文件的位置 p;GT[Ds^
[F^qa/vJ10
vBMuV pzO
struts.devMode 5i+0GN3nd
Whether Struts is in development mode or not R3G+tE/Y
是否为struts开发模式 ;Jn"^zT
1;\A./FVv
struts.dispatcher.parametersWorkaround g=*`6@_=
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic w/L^w50pt
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) T[z]~MJL
(|6Y1``
struts.enable.DynamicMethodInvocation \WDL?(G<
Allows one to disable dynamic method invocation from the URL ]8}+%P,Q
允许动态方法调用 Lv`*+;1K
WMo
struts.freemarker.manager.classname 4>uy+"8PO
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class kHO2&"6
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ndSM*Fq
Y:~A-_
struts.i18n.encoding PY4RwN
The encoding to use for localization messages M
`QYrH
国际化信息内码 J3]W2m2Zw
K/2k/\Jk[_
struts.i18n.reload ')d&:K*M
Whether the localization messages should automatically be reloaded _f~(g1sE
是否国际化信息自动加载 QFP3S(
z/JoUje
struts.locale N2?o6)
The default locale for the Struts application AoaRlk-#
默认的国际化地区信息 #Ub"Ii
'IorjR@40
struts.mapper.class 4Y):d!'b
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class v^Eg ,&(
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ub0hISA
E%eTjvvxus
struts.multipart.maxSize D 8nt%vy
The maximize size of a multipart request (file upload) *K9I+t"g
multipart请求信息的最大尺寸(文件上传用) thoAEG80
kOe%w-_
struts.multipart.parser -BY'E$]4
The org.apache.struts2.dispatcher.multipart. )'<B\P/
MultiPartRequest parser implementation for a multipart request (file upload) U
Hej5-B
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) dmq<vVxC
R^}}-Dvr
j@kL`Q\&I
struts.multipart.saveDir }Pm>mQZ},
The directory to use for storing uploaded files D;f[7Cac
设置存储上传文件的目录夹 +3HukoR(
|
HkLl^
struts.objectFactory ?'xTSAn
The com.opensymphony.xwork2.ObjectFactory implementation class b-/zt Z@u
com.opensymphony.xwork2.ObjectFactory接口(spring) ]r#YU0
'C
l}IDF
struts.objectFactory.spring.autoWire CaX0Jlk*
Whether Spring should autoWire or not K3eYeXV
是否自动绑定Spring lpW|GFG
JvA6 kw,
struts.objectFactory.spring.useClassCache i|'M'^3r
Whether Spring should use its class cache or not _3q%
是否spring应该使用自身的cache NDG3mCl
Zk#^H*jgx
struts.objectTypeDeterminer ; Nw.
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Km~\^(a '
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 9Fe(],AzF
'Ii%/ Ob!
struts.serve.static.browserCache _1z|QC
If static content served by the Struts filter should set browser caching header properties or not !i0jk,[B=
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 dg%Orvuz
btq`[gAF\
struts.serve.static 8\-Q(9q(
Whether the Struts filter should serve static content or not Sz\"*W;>
是否struts过滤器应该提供静态内容 U] 2fV|Hn
QjW7XVxB#N
struts.tag.altSyntax B]PTe~n^
Whether to use the alterative syntax for the tags or not a:C'N4K
是否可以用替代的语法替代tags ,&S^R yc
>
,L'A;c}
struts.ui.templateDir >Z#=<
The directory containing UI templates ` [ EzU+
UI templates的目录夹 b P>!&s_
xl%!7?G|$>
struts.ui.theme {(}Mu R
The default UI template theme 39;Z+s";
默认的UI template主题 20hF2V
1'5I]D
ec
struts.url.http.port q% Eze
The HTTP port used by Struts URLs '1)BZ!
设置http端口 !B==cNq
/Kmzi9j+
struts.url.https.port ^(ks^<}
The HTTPS port used by Struts URLs I*e85wef
设置https端口 T^-fn
Q K0
struts.url.includeParams e&dE>m
The default includeParams method to generate Struts URLs $!c)%qDq
在url中产生 默认的includeParams 2e}${NZN
TlExw0i!
$tyF(RybG
struts.velocity.configfile '3Ir(]Wfd
The Velocity configuration file path eTI<WFRc_
velocity配置文件路径 QDlEby m
_S:6;_bz
struts.velocity.contexts U;n$
List of Velocity context names }$W4aG*[
velocity的context列表 )^UM8
s
?PNG@OK
N> RabD
struts.velocity.manager.classname sDnHd9v<?t
org.apache.struts2.views.velocity.VelocityManager implementation class Dm/# \y3
org.apache.struts2.views.velocity.VelocityManager接口名 -k{n"9a9?
YmM+x=G:
struts.velocity.toolboxlocation 3 $;6pY
The location of the Velocity toolbox 3kFOs$3
velocity工具盒的位置 ]=p@1
struts.xslt.nocache *Dld?Q
Whether or not XSLT templates should not be cached
~YHy'.
是否XSLT模版应该被缓存 =whZ?,u1