struts2的struts.properties配置文件详解 =8=!Yc(>
7+w'Y<mJ
struts.action.extension N~ANjn/wL
The URL extension to use to determine if the request is meant for a Struts action +\# Fd
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 BKU'`5`
~YCuO0t
struts.configuration >6Lm9&}
The org.apache.struts2.config.Configuration implementation class Fl>]&x*~
org.apache.struts2.config.Configuration接口名 7m5Co>NkuK
dRvin[R8
struts.configuration.files y33~HsOJ
A list of configuration files automatically loaded by Struts ;1DdjE Tr
struts自动加载的一个配置文件列表 #~qAHJ<
f+vVR1
struts.configuration.xml.reload 3]JZu9#
Whether to reload the XML configuration or not VSOz.g>
是否加载xml配置(true,false) vuz4qCQ
1@XgTL4
struts.continuations.package z 2/!m[U
The package containing actions that use Rife continuations "Mmf6hu
含有actions的完整连续的package名称 =7
,Kf}6
wHsB,2H
struts.custom.i18n.resources u~Tg&0V30
Location of additional localization properties files to load 9h(IUD{8
加载附加的国际化属性文件(不包含.properties后缀) #f'DEo<b
Y@ F
struts.custom.properties pw'wWZE'
Location of additional configuration properties files to load YnV/M,U
加载附加的配置文件的位置 MEwdw3
|)_-Bi;MW`
:u%$0p>
struts.devMode >CgO<\
Whether Struts is in development mode or not \|Dei);k
是否为struts开发模式 GO5 ~!g
_>bRv+RVR
struts.dispatcher.parametersWorkaround TA}UY7v
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic EEf ]u7
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) R_Dc)
)"O{D`uX
struts.enable.DynamicMethodInvocation 6&2LWaWMo$
Allows one to disable dynamic method invocation from the URL ;)!"Ty|
允许动态方法调用 k4KHS<n0
C>|@& o1
struts.freemarker.manager.classname {,O`rW_eS
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class aw}+'(?8]
org.apache.struts2.views.freemarker.FreemarkerManager接口名 \Rk$t7ZH
p*;Qz
struts.i18n.encoding "EftN5?/
The encoding to use for localization messages qg,Nb
国际化信息内码 zXc}W*ymj
xQt 3[(Z
struts.i18n.reload a}.Y!O&
Whether the localization messages should automatically be reloaded : \V,k~asl
是否国际化信息自动加载 ]@xL=%
|Svk^m q
struts.locale S-E++f9D~
The default locale for the Struts application 6 o[/F3`
默认的国际化地区信息 ,&a`d}g&G
"2HY5AE
struts.mapper.class 4?]oV%aP)
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class
T<jfAE
org.apache.struts2.dispatcher.mapper.ActionMapper接口 wFlV=!>,
DOL%'k ?B
struts.multipart.maxSize Sw!
j=`O
The maximize size of a multipart request (file upload) & QZV q"
multipart请求信息的最大尺寸(文件上传用) m =&j@
, &' Y
struts.multipart.parser =v" xmx&4
The org.apache.struts2.dispatcher.multipart. `"y{;PCt_
MultiPartRequest parser implementation for a multipart request (file upload) >BqCkyM9Kf
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~-Oa8ww
)}X5u%woV
gAE!aKy
struts.multipart.saveDir kC^.4n
om
The directory to use for storing uploaded files StQ@g
设置存储上传文件的目录夹 QdDtvJLf
,# "(Z
struts.objectFactory ^Qh-(u`
The com.opensymphony.xwork2.ObjectFactory implementation class IbdM9qo7
com.opensymphony.xwork2.ObjectFactory接口(spring) A'eAu
t;Wotfc[#0
struts.objectFactory.spring.autoWire No W!xLI
Whether Spring should autoWire or not B/YcSEY;
是否自动绑定Spring A_r<QYq0|
StM/
struts.objectFactory.spring.useClassCache {Jx7_T&
Whether Spring should use its class cache or not PvOC5b
是否spring应该使用自身的cache P%GkcV
%RFYm
struts.objectTypeDeterminer ch,| 1}bi
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class r<FQX3
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0o68rF5^s
cgNt_8qC
struts.serve.static.browserCache ~ v1W
If static content served by the Struts filter should set browser caching header properties or not `Wf5
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 rye)qp|
29O]S8
struts.serve.static FP;":i RL
Whether the Struts filter should serve static content or not o`U|`4,
是否struts过滤器应该提供静态内容 F_PTMl=Q|J
p5SX1PPQ
struts.tag.altSyntax 1KJZWZy
Whether to use the alterative syntax for the tags or not c/$*%J<
是否可以用替代的语法替代tags +sn2Lw!^
<:cpz* G4
struts.ui.templateDir
<qn,
The directory containing UI templates L[]^{ O
UI templates的目录夹 a@SUi~+3
2NR7V*A
struts.ui.theme =K6c;
The default UI template theme ta! V=U
默认的UI template主题 <P pYl
U(3(ZqP
struts.url.http.port 9A*rE.B+W
The HTTP port used by Struts URLs ?cBO6^
设置http端口 Q eK{MF
T 'i~_R6
struts.url.https.port 2
zl~>3S
The HTTPS port used by Struts URLs 1#!@["
设置https端口 oWrE2U;
"z/V%ZK~f
struts.url.includeParams ;vUxO<cKFq
The default includeParams method to generate Struts URLs ^n71'MW
在url中产生 默认的includeParams <UAP~RH{
QE6El'S
:C}H y
struts.velocity.configfile yam}x*O\xn
The Velocity configuration file path BA`:miH<
velocity配置文件路径 UG=I~{L
#L1>dHhat
struts.velocity.contexts FAd``9kRT
List of Velocity context names x)\V lR
velocity的context列表 '{^8_k\}B
5\?3$<1I
>e_%M50
struts.velocity.manager.classname q4k`)?k9
org.apache.struts2.views.velocity.VelocityManager implementation class gD5P!}s[u0
org.apache.struts2.views.velocity.VelocityManager接口名 {|p"; uJ
B$DZ]/<
struts.velocity.toolboxlocation ^hysC c
The location of the Velocity toolbox 7AeP Gr
velocity工具盒的位置 4[_L=zD
struts.xslt.nocache cI3KB-lM#
Whether or not XSLT templates should not be cached GMTor
是否XSLT模版应该被缓存 AI R{s7N