struts2的struts.properties配置文件详解 k@3Q|na
SX#
e:_
struts.action.extension 9#MBaO8_"
The URL extension to use to determine if the request is meant for a Struts action ne_TIwf w-
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n4R(.N00
Ke2ccN
struts.configuration 'DL`Ee\
The org.apache.struts2.config.Configuration implementation class E4~<V=2l
org.apache.struts2.config.Configuration接口名 42(Lb'G
h1B16)
struts.configuration.files uJC~LC N
A list of configuration files automatically loaded by Struts ='s(|
struts自动加载的一个配置文件列表 #x 177I\
q$B>|y U
struts.configuration.xml.reload U<_3^
Whether to reload the XML configuration or not xQ^E"Q,1
是否加载xml配置(true,false) n O\"HLM
\b?" b
struts.continuations.package 5?3Me59
The package containing actions that use Rife continuations rLI8pA|.
含有actions的完整连续的package名称 #AL=f'2=f
0c<.iM
struts.custom.i18n.resources ~nh:s|l6%M
Location of additional localization properties files to load \%f q
加载附加的国际化属性文件(不包含.properties后缀) C8 xZ;V]
QSszn`e
struts.custom.properties !`,Sfqij
Location of additional configuration properties files to load "NXB$a!:
加载附加的配置文件的位置 7|$:=4
[f1
(`<
gT0BkwIV
struts.devMode 4,CXJ2
Whether Struts is in development mode or not FtfKe"qw
是否为struts开发模式 ->y J5smtY
UQC=g
struts.dispatcher.parametersWorkaround di6QVRj1
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic S||}nJ0
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) <b`E_
Rn9m]x
struts.enable.DynamicMethodInvocation ,!Z*5
Allows one to disable dynamic method invocation from the URL {f2S/$q
允许动态方法调用 vdx0i&RiL
%.^_Ps0
struts.freemarker.manager.classname 1m:XR0 P
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class
19Mu61
org.apache.struts2.views.freemarker.FreemarkerManager接口名 <SgM@0m
|:xYE{*)H
struts.i18n.encoding M^r1S
The encoding to use for localization messages YaKeq5%y
国际化信息内码 r&R B9S@*h
s;S?;(QI
struts.i18n.reload VEqS;~[
Whether the localization messages should automatically be reloaded ?'@8kpb
是否国际化信息自动加载 3=FZ9>by
JORGj0v
struts.locale
A: 5x|
The default locale for the Struts application 7VqM$I
默认的国际化地区信息 mpI5J'>]
wVicyiY]
struts.mapper.class '_w=k4
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2jg-
org.apache.struts2.dispatcher.mapper.ActionMapper接口 % NA9{<I
@eD):Y
struts.multipart.maxSize E.7
The maximize size of a multipart request (file upload) hb zC#@q
multipart请求信息的最大尺寸(文件上传用) ;V*R*R
aY'C%^h]
struts.multipart.parser 4e~A1-
The org.apache.struts2.dispatcher.multipart. :km61
MultiPartRequest parser implementation for a multipart request (file upload) u frW\X
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) u37'~&o{U
CFzNwgv]z
?s\:hNNY
struts.multipart.saveDir ~P8tUhffK
The directory to use for storing uploaded files `k[-M2[
设置存储上传文件的目录夹 =(NB%}
E^ P,*s
struts.objectFactory ej4W{IN~:
The com.opensymphony.xwork2.ObjectFactory implementation class J&[@}$N
com.opensymphony.xwork2.ObjectFactory接口(spring) I/d&G#:~
# {w9s0:
struts.objectFactory.spring.autoWire }.3nthgz
Whether Spring should autoWire or not |Y$uqRdV
是否自动绑定Spring sYe?M,
s} UjGFP
struts.objectFactory.spring.useClassCache -=)+dCyB^
Whether Spring should use its class cache or not pk?w\A}
是否spring应该使用自身的cache k9:{9wW
u<3HQ.:;
struts.objectTypeDeterminer 1rv)&tKs
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class lD^]\;?
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 M9V
q
-U18
A'q#I>j`
struts.serve.static.browserCache GN ]cDik
If static content served by the Struts filter should set browser caching header properties or not ud xZ0
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $ACvV"b
]+|~cRQ9I
struts.serve.static WF1px %
Whether the Struts filter should serve static content or not 7ePqmB<.
是否struts过滤器应该提供静态内容 @ zs'Y8
l)Pu2!Ic
struts.tag.altSyntax 8TGOx%}i
Whether to use the alterative syntax for the tags or not lsNrAA%m
是否可以用替代的语法替代tags zm]aU`j
i`QKH
struts.ui.templateDir J8S'/y(LE<
The directory containing UI templates g .onTFwN
UI templates的目录夹 biSz?DJ>
KNS.Nw7
struts.ui.theme ~%^
tB
The default UI template theme 9Wnn'T@Tl
默认的UI template主题 ;'5>q&[qbP
RA KFU
struts.url.http.port PJ]];MQ
The HTTP port used by Struts URLs -R57@D>j\
设置http端口 \@8+U;d
~i~7na|
struts.url.https.port BybW)+~
The HTTPS port used by Struts URLs ]8Q4BW
设置https端口
tNGp\~
|+iws8xK?
struts.url.includeParams A6:es_
The default includeParams method to generate Struts URLs RRRCS]y7$t
在url中产生 默认的includeParams ` D= S{
7on.4/;M
&d"G/6
struts.velocity.configfile .Xce9C0SW
The Velocity configuration file path M[6:p2u
velocity配置文件路径 <_3b1VhZ
o$w_Es]Ma
struts.velocity.contexts clNkph
List of Velocity context names ``ou/Z
velocity的context列表 gW-V=LV (
Ezr:1 GJ
BReJ!|{m}
struts.velocity.manager.classname U@-^C"R
org.apache.struts2.views.velocity.VelocityManager implementation class a#>Yh;FA
org.apache.struts2.views.velocity.VelocityManager接口名 S-k8jm
W7 Cc
struts.velocity.toolboxlocation bsB*533
The location of the Velocity toolbox _tBTE%sO
velocity工具盒的位置 {5F-5YL+>
struts.xslt.nocache TMig-y*[
Whether or not XSLT templates should not be cached ~nrK>%
是否XSLT模版应该被缓存 MFb9H{LA