struts2的struts.properties配置文件详解 X5 UcemO
PhW<)B]
struts.action.extension ?rID fEvV
The URL extension to use to determine if the request is meant for a Struts action H7n5k,
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 eKi/Mt
yG|^-O}L
struts.configuration 5!u.w
The org.apache.struts2.config.Configuration implementation class w^Qb9vTa8
org.apache.struts2.config.Configuration接口名 ;cd{+0
Yn4c6K
struts.configuration.files <
.&t'W
A list of configuration files automatically loaded by Struts [` ~YPUR*
struts自动加载的一个配置文件列表 sG`|| Kb;n
6wC|/J^
struts.configuration.xml.reload u}Vc2a,WV
Whether to reload the XML configuration or not s8Kf$E^?e.
是否加载xml配置(true,false) lG12Su/
7|LJwXQ-
struts.continuations.package qawb9Iud0
The package containing actions that use Rife continuations T-ID{i
含有actions的完整连续的package名称 ^_ <jg0V
#mwV66'H
struts.custom.i18n.resources R2WEPMH%
Location of additional localization properties files to load T.O^40y
加载附加的国际化属性文件(不包含.properties后缀) ',j'Hf
wr{03mQHxp
struts.custom.properties f>\OT
Location of additional configuration properties files to load w='1uV<6
加载附加的配置文件的位置 ktLXL;~X
LW6&^S?4{
=S/$h}Vi
struts.devMode maQE Bi,
Whether Struts is in development mode or not >yFEUD:
是否为struts开发模式 6z
v+Av:
H|_^T.n?E
struts.dispatcher.parametersWorkaround N|hNh$J[
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic k%-_z}:3V
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) TJFxo?
gC"
_h>S7-X
struts.enable.DynamicMethodInvocation R r! PU
Allows one to disable dynamic method invocation from the URL ofbNg_K>
允许动态方法调用 @/h_v#W
%}jwuNGA
struts.freemarker.manager.classname 9k8ftxB^
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class -BUxQ8/,
org.apache.struts2.views.freemarker.FreemarkerManager接口名 x)0g31 49
9t@^P^}=\m
struts.i18n.encoding ?hUC#{
The encoding to use for localization messages 4GWt.+{J$
国际化信息内码 YVt#( jl
~01
o
struts.i18n.reload TP'
Whether the localization messages should automatically be reloaded 9n{tbabJ
是否国际化信息自动加载 02E-|p;
"&?F6Pi
struts.locale `$oGgz6ZT
The default locale for the Struts application l'=H,8LfA
默认的国际化地区信息 , f9V`Pz)
h-
.V[]<
struts.mapper.class 3qOq:ZkQ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (7BG~T
org.apache.struts2.dispatcher.mapper.ActionMapper接口 qS<a5 `EA
mqgA
struts.multipart.maxSize 0VC8'6S_k
The maximize size of a multipart request (file upload) owL>w
multipart请求信息的最大尺寸(文件上传用) ry9%Y3
xLX<