struts2的struts.properties配置文件详解 UvF5u(o
@!Rklhb
struts.action.extension )F_nK f"a
The URL extension to use to determine if the request is meant for a Struts action 2rxz<ck(
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 nArG
I}@
*f o>
struts.configuration .$]-::&
The org.apache.struts2.config.Configuration implementation class 5m2f\^U
org.apache.struts2.config.Configuration接口名 u{Gci
v>/_U
struts.configuration.files Zo<j"FG
A list of configuration files automatically loaded by Struts 8/k"A-m
struts自动加载的一个配置文件列表 "\+.S]~
eX'U d%
struts.configuration.xml.reload $.x,[R
aN
Whether to reload the XML configuration or not dJ{q}U
是否加载xml配置(true,false) TPVB{
107
L6./5`bs
struts.continuations.package xF6byTi
The package containing actions that use Rife continuations z/,&w_8,:
含有actions的完整连续的package名称 0.[tEnLZ
l[<U UEjZJ
struts.custom.i18n.resources rXR!jZ.hi
Location of additional localization properties files to load ^[6el_mj
加载附加的国际化属性文件(不包含.properties后缀) G8&/Ic
x c]#8K
struts.custom.properties _<KUa\
Location of additional configuration properties files to load ;;|.qgxc~
加载附加的配置文件的位置 a"&cm'\lL
+c$:#9$ |
K3k{q90
struts.devMode qTSe_Re
Whether Struts is in development mode or not r+k g$+%b
是否为struts开发模式 [\qclW;L
?I$- im
struts.dispatcher.parametersWorkaround :(iBLO<x
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic C55Av%-=
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) r{KQ3j9O
=~>g--^U
struts.enable.DynamicMethodInvocation !/e*v>3u&
Allows one to disable dynamic method invocation from the URL [1nUq!uTm
允许动态方法调用 qrf90F)
E=Vp%08(
struts.freemarker.manager.classname L1Jn@
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class O(6j:XD
org.apache.struts2.views.freemarker.FreemarkerManager接口名 wjfq"7Q
5z&>NI
struts.i18n.encoding c \;_jg
The encoding to use for localization messages O-huC:zZh
国际化信息内码 5^K\<+{~B
6Yl+IP];i
struts.i18n.reload wXtp(YwlH
Whether the localization messages should automatically be reloaded !;;7:!)P
是否国际化信息自动加载 _F5*\tQ
h5(OjlMC
struts.locale hr!'
The default locale for the Struts application z'7XGO'Lo
默认的国际化地区信息 ,m8mh)K?0>
hd]ts.
struts.mapper.class y,/i3^y#_
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3W%j^nM
org.apache.struts2.dispatcher.mapper.ActionMapper接口 n(`|:h"
"n_X4e+18P
struts.multipart.maxSize BO WOH
The maximize size of a multipart request (file upload) bObsj]
multipart请求信息的最大尺寸(文件上传用)
SsPZva
W>5[_d
struts.multipart.parser %lD+57=
The org.apache.struts2.dispatcher.multipart. #qFY`fVf1
MultiPartRequest parser implementation for a multipart request (file upload) eC94rcb}i{
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 0U~*uDU
^qzH(~g{M
4,>9N9.?9
struts.multipart.saveDir Au6Y]
The directory to use for storing uploaded files )N*Jc @Y@
设置存储上传文件的目录夹 '/)qI.
e^'|<0J
struts.objectFactory \VA*3U^@
The com.opensymphony.xwork2.ObjectFactory implementation class =^SxZ Bn
com.opensymphony.xwork2.ObjectFactory接口(spring) QYi4A"$`
A $ ]s{`
struts.objectFactory.spring.autoWire ~GcWG4
Whether Spring should autoWire or not ?(n v_O
是否自动绑定Spring Z #T
Z/dhp0k
struts.objectFactory.spring.useClassCache i4]oE&G
Whether Spring should use its class cache or not j8nkNE]&
是否spring应该使用自身的cache U
E$Ix
YRo,wsj
struts.objectTypeDeterminer Y%eq2%
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Vn_~ |-Wt
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 s<rV1D
]jYFrOMy4S
struts.serve.static.browserCache -i1 f
]Bd
If static content served by the Struts filter should set browser caching header properties or not a HVzBcCPh
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 RWGf]V]6
TDUY& 1[
struts.serve.static v+I-*,R
Whether the Struts filter should serve static content or not {0j_.XZ
是否struts过滤器应该提供静态内容 zgH(/@P
b+|3nc!
struts.tag.altSyntax 2:_6nWl
Whether to use the alterative syntax for the tags or not r fzNw
是否可以用替代的语法替代tags 0|J_'-<
7YR|6{@
struts.ui.templateDir 0y6M;"&~E
The directory containing UI templates _CfJ Kp)
UI templates的目录夹 DzQ
eZaSV>27
struts.ui.theme o<G#%9j
The default UI template theme y)U?.@
默认的UI template主题 E5$]0#jB
fGO\f;P
struts.url.http.port ^lAM /
The HTTP port used by Struts URLs 8;V9%h`P>
设置http端口 :8!RGtn
5nUJ9sqA
struts.url.https.port pF4Z4?W
The HTTPS port used by Struts URLs u8]FJQ*\6+
设置https端口 0/b
_T
h%krA<G9
struts.url.includeParams kQ lU.J>^
The default includeParams method to generate Struts URLs
fT|A^
在url中产生 默认的includeParams *<\K-NSL
BMy3tyO
TI8r/P?
]V
struts.velocity.configfile 'gvR?[!t
The Velocity configuration file path o87kF!x
velocity配置文件路径 W3:Fw6v
C+llA
struts.velocity.contexts 3f] ;y<Km
List of Velocity context names QYboX~g~p
velocity的context列表 qD4]7"9
Fq@o_bI
B*,)@h
struts.velocity.manager.classname V`1,s~"q
org.apache.struts2.views.velocity.VelocityManager implementation class C/IF~<B
org.apache.struts2.views.velocity.VelocityManager接口名 D]]wJQU2
DK\XC%~m
struts.velocity.toolboxlocation @Fb1D"!
The location of the Velocity toolbox BG+i tyH
velocity工具盒的位置 <;6{R#Tuh
struts.xslt.nocache {]< G=]'
Whether or not XSLT templates should not be cached 8o$rF7.-
是否XSLT模版应该被缓存 eHuJFM