struts2的struts.properties配置文件详解 Q)H Vh[4
WynHcxC
struts.action.extension ;c<:"ad(
The URL extension to use to determine if the request is meant for a Struts action -\AB!#fh
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 S1 %{/w
(a]'}c$X9`
struts.configuration [*8wv^
The org.apache.struts2.config.Configuration implementation class luLm:NWUM
org.apache.struts2.config.Configuration接口名 \wO)w@"
8R8J./i.K
struts.configuration.files 5GT,:0
A list of configuration files automatically loaded by Struts ZK3?"|vhC
struts自动加载的一个配置文件列表 ~"brfjd|
=4+UX*&i?.
struts.configuration.xml.reload Z4bN|\I
Whether to reload the XML configuration or not f{WJM>$:
是否加载xml配置(true,false) <}N0y*m
'-gk))u>)
struts.continuations.package :3{@LOil^
The package containing actions that use Rife continuations Og"50 -
含有actions的完整连续的package名称 ObMsncn
;z)$wH0xc
struts.custom.i18n.resources `Z]a6@w~
Location of additional localization properties files to load /]<0`nI.
加载附加的国际化属性文件(不包含.properties后缀) VLu_SXlo*
9v<BO$
,a
struts.custom.properties BeaX 0#\
Location of additional configuration properties files to load ~>xn9vb=
加载附加的配置文件的位置 7Dom[f
C6CX{IA]
@QVAsNW:O
struts.devMode IS]0 3_uQ
Whether Struts is in development mode or not >Mrz$
z{x
是否为struts开发模式 $*8c0.{U
;^O^&<
struts.dispatcher.parametersWorkaround 09%q/-$
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic dg/7?gV
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (!DH'2I[
-:cS}I
struts.enable.DynamicMethodInvocation fC]+C(*d
Allows one to disable dynamic method invocation from the URL @MAk/mb&
允许动态方法调用 (Qq! u
oQWS$\Rr.
struts.freemarker.manager.classname %!p14c*J H
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Nki18ud#
org.apache.struts2.views.freemarker.FreemarkerManager接口名 iN+p>3w^l
mcS/-DaN?
struts.i18n.encoding } +i
ZY\t
The encoding to use for localization messages {eqUEdC
国际化信息内码 = ?vk n
f1hi\p0q
struts.i18n.reload VH,k EbJ
Whether the localization messages should automatically be reloaded DU]MMR
是否国际化信息自动加载 G\Toi98d*
B58H7NH ;G
struts.locale hH )jX`Ta
The default locale for the Struts application Q gDjc'
默认的国际化地区信息 PFUb\AY
~ E>D0o
struts.mapper.class k;;?3)!
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class wC'KI8-
org.apache.struts2.dispatcher.mapper.ActionMapper接口 UQ`%,D
&FkKnz4IZ
struts.multipart.maxSize n*@^c$&P
The maximize size of a multipart request (file upload) /o+,
=7hY
multipart请求信息的最大尺寸(文件上传用) J>]' {!+
+7N6]pK|"
struts.multipart.parser ZCbxL.fFz
The org.apache.struts2.dispatcher.multipart. !+9H=u
MultiPartRequest parser implementation for a multipart request (file upload) .I
{X
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ai(M06P:h
IP&En8W+
>OZ+k(saL
struts.multipart.saveDir &