struts2的struts.properties配置文件详解 &2Y>yFB
,
c(eu[vj:
struts.action.extension GEvif4
The URL extension to use to determine if the request is meant for a Struts action Cvl"")ZZ`
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3Zbvf^
]IoS-)$Z/
struts.configuration V&f3>#n\
The org.apache.struts2.config.Configuration implementation class sB"]R%`_
org.apache.struts2.config.Configuration接口名 Y${ $7+@
IYj-cm
struts.configuration.files [`
i;gx[^
A list of configuration files automatically loaded by Struts [}VEDx
struts自动加载的一个配置文件列表 00$W>Gr
-MU^%t;-
struts.configuration.xml.reload `rM-b'D
Whether to reload the XML configuration or not vu*08<M~i|
是否加载xml配置(true,false) WM"I
r1
czT$mKj3
struts.continuations.package Aimgfxag
The package containing actions that use Rife continuations H-S28%.
含有actions的完整连续的package名称 E]e6a^J#
Eu0_/{:
struts.custom.i18n.resources 8d>OtDLa
Location of additional localization properties files to load 3|~(9b{+
加载附加的国际化属性文件(不包含.properties后缀) !u=[/>
t<`BaU
struts.custom.properties ?HBc7$nW
Location of additional configuration properties files to load ?Jx8z`(
加载附加的配置文件的位置 GCIm_
n
fa6L+wt4O
_H;ObTiB
struts.devMode >=B8PK+<
Whether Struts is in development mode or not k!!o!r BS
是否为struts开发模式 3_D$6/i
<Siz5qQI4
struts.dispatcher.parametersWorkaround Sx pl%
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic
^h'
wZ7-\
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) S3n$
&yP9vp="
struts.enable.DynamicMethodInvocation N2~Nc"L
Allows one to disable dynamic method invocation from the URL q,m6$\g4
允许动态方法调用 l~\'Z2op
rv\<Q-uQ8
struts.freemarker.manager.classname <vPIC G)
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class i|2Q}$3t2
org.apache.struts2.views.freemarker.FreemarkerManager接口名 YoahqXR`
5jbd!t@L
struts.i18n.encoding |D<~a(0
The encoding to use for localization messages xvW+;3;
国际化信息内码 KBOxr5w
2'/ ip@
struts.i18n.reload L>xN7N3&m
Whether the localization messages should automatically be reloaded T}g;kppC
是否国际化信息自动加载 J\Sewg9
iHR?]]RF
struts.locale d F),
The default locale for the Struts application gB&'MA!
默认的国际化地区信息 ?6a:!^eL
6@nE cr
struts.mapper.class F+}MW/ra@
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class x0
3|L!n
org.apache.struts2.dispatcher.mapper.ActionMapper接口 =>ignoeI
NBLOcRSh
struts.multipart.maxSize (h2bxfV~+
The maximize size of a multipart request (file upload) UW40Y3W0
multipart请求信息的最大尺寸(文件上传用) "&>$/b$
whD%Oz*f
struts.multipart.parser fD
V:ueO
The org.apache.struts2.dispatcher.multipart. 7kj#3(e
MultiPartRequest parser implementation for a multipart request (file upload) 0OlB;
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) P=eL24j
Pxl7zz&pl=
&a7KdGP8V
struts.multipart.saveDir ]"F0"UH,
The directory to use for storing uploaded files 6o
{41@v(
设置存储上传文件的目录夹 O.!|;)HQ
3'IF?](]U
struts.objectFactory RW%e%
The com.opensymphony.xwork2.ObjectFactory implementation class 02b v0
com.opensymphony.xwork2.ObjectFactory接口(spring) s,lrw~17
R5|c4v{B
struts.objectFactory.spring.autoWire St'3e<
Whether Spring should autoWire or not |wWBV{^
是否自动绑定Spring `a
F~&bgl[YZ
struts.objectFactory.spring.useClassCache -3F|)qwK
Whether Spring should use its class cache or not bW[Y:}Hk~
是否spring应该使用自身的cache !,|yrB&`S
8NA2C.gOZ
struts.objectTypeDeterminer qm8[ ^jO&
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \_0nH`
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 td%EbxJK]`
V"k*PLt
struts.serve.static.browserCache Y}ITA=L7
If static content served by the Struts filter should set browser caching header properties or not 2Fp.m}42i(
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 z[[|'02{
1dHN<xy
struts.serve.static "Q-TLN5(
Whether the Struts filter should serve static content or not c]#F^(-A`
是否struts过滤器应该提供静态内容 j<e`8ex?
T =_Hd
struts.tag.altSyntax ':6`M
Whether to use the alterative syntax for the tags or not &*A7{76x
是否可以用替代的语法替代tags l3rr2t
Y!"LrkC
struts.ui.templateDir 0c
/xE<h
The directory containing UI templates 9qIjs$g
UI templates的目录夹 K+2<{qwh
/ 9^:*,
struts.ui.theme FUiEayM
The default UI template theme 0LeR#l:I
默认的UI template主题 Z;-=x p
|*K AqTO0
struts.url.http.port w+z~Mz}Vz
The HTTP port used by Struts URLs Xu2:yf4No*
设置http端口 <"X\~
7c5+8k3
struts.url.https.port Hq ]f$Q6:
The HTTPS port used by Struts URLs .\".}4qQ
设置https端口 1T!(M"'Ij
=0
mf
struts.url.includeParams Am{Vtl)i
The default includeParams method to generate Struts URLs nj]l'~Y0
在url中产生 默认的includeParams LJ\uRfs
p gWBW9\
{ZrIA+eH
struts.velocity.configfile zU}Ru&T9
The Velocity configuration file path 8t25wPlx
velocity配置文件路径 V*Ta[)E
U\s.fIr
struts.velocity.contexts F^fL
List of Velocity context names lhZXq!2p
velocity的context列表 >;:235'(M
7A<X!a
XOe)tz
L
struts.velocity.manager.classname 4"at~K`
Q
org.apache.struts2.views.velocity.VelocityManager implementation class At3>
org.apache.struts2.views.velocity.VelocityManager接口名 `O/1aW1
4,4S5u[|
struts.velocity.toolboxlocation 5%Hw,h
The location of the Velocity toolbox
= ss(~[
velocity工具盒的位置 ]
-iMo4H
struts.xslt.nocache avxr|uk
Whether or not XSLT templates should not be cached FN0)DN2d}
是否XSLT模版应该被缓存 EhB0w; c