struts2的struts.properties配置文件详解 jIT|Kk&]
xS tsw5d
struts.action.extension c{I]!y^!
The URL extension to use to determine if the request is meant for a Struts action Cm)TFh6
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n19A>,m
8Iw)]}T'
struts.configuration {+hABusq
The org.apache.struts2.config.Configuration implementation class .=J- !{z
org.apache.struts2.config.Configuration接口名 ocW~I3
XV]xym~
struts.configuration.files 8+}rm6Y+
A list of configuration files automatically loaded by Struts <3BGW?=WP
struts自动加载的一个配置文件列表 l3>e-kP
XZARy:+bc
struts.configuration.xml.reload bRy(`
Whether to reload the XML configuration or not ;9mRumLG"
是否加载xml配置(true,false) UHvA43
lWj*tnnn[
struts.continuations.package 7)jN:+4N
The package containing actions that use Rife continuations tm.60udbo
含有actions的完整连续的package名称 {{Ox%Zm
3`%E;?2
struts.custom.i18n.resources n4S`k%CI
Location of additional localization properties files to load xw}yl4WT{
加载附加的国际化属性文件(不包含.properties后缀) .Ji9j[[#D
hZ*vk
struts.custom.properties tt?`,G.(]
Location of additional configuration properties files to load 2}pZyS
加载附加的配置文件的位置 BYEZ[cM
1bQO:n):~
c.Sd~k:3
struts.devMode _MTZuhY
Whether Struts is in development mode or not L7buY(F(
是否为struts开发模式 6CHb\k
j AOy3c
struts.dispatcher.parametersWorkaround dv\bkDF4A
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic gR# k'
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) M9R'ONYAa
tUxH6IS
struts.enable.DynamicMethodInvocation 9gw;MFP)D
Allows one to disable dynamic method invocation from the URL /Q(boY{
允许动态方法调用 Vs l,u
]b%U9hmL^f
struts.freemarker.manager.classname ZN$%\,<
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class b`D]L/}pr
org.apache.struts2.views.freemarker.FreemarkerManager接口名 v:4j3J$z
; >H1A
struts.i18n.encoding d-1D:Hs?
The encoding to use for localization messages Z3{1`"\<K
国际化信息内码 NT5=%X]
I*.nwV<
struts.i18n.reload :Q("
Whether the localization messages should automatically be reloaded F*@2 )
是否国际化信息自动加载 iKrk?B<
we`BqZV
struts.locale #W)m({}
The default locale for the Struts application ?g4Rk9<!i
默认的国际化地区信息 |Qcz5M90e
9&f+I@K
struts.mapper.class T,9q~*"
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class S!u8JG1
org.apache.struts2.dispatcher.mapper.ActionMapper接口 6WZffB{-TK
\f^xlX3&`
struts.multipart.maxSize ca7Y+9<
;
The maximize size of a multipart request (file upload) &mVClq
multipart请求信息的最大尺寸(文件上传用) e`g+Jf`AT
kh.P)h'9
struts.multipart.parser MZQDFuvDxZ
The org.apache.struts2.dispatcher.multipart. W.[!Q`
MultiPartRequest parser implementation for a multipart request (file upload) g&y (-
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <A Hzs
zO"De~[9
v(yJGEf0
struts.multipart.saveDir %P s.r{%{
The directory to use for storing uploaded files C @<T(`o
设置存储上传文件的目录夹 r'{N_|:vv
2_HIn
struts.objectFactory xA7~"q&u
The com.opensymphony.xwork2.ObjectFactory implementation class ;&6
{c
com.opensymphony.xwork2.ObjectFactory接口(spring) yZNG>1N
b-VtQ%Q
struts.objectFactory.spring.autoWire k5aB|xo
Whether Spring should autoWire or not 2YZ>nqy
是否自动绑定Spring #tu>h
d~~, 5E
struts.objectFactory.spring.useClassCache Y|r7gy9%
Whether Spring should use its class cache or not @!dIa1Q"
是否spring应该使用自身的cache *
rlVE
1qNO$M
struts.objectTypeDeterminer N gF7$@S
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class tE=09J%z
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 2)\->$Q(H
xAd@.^
struts.serve.static.browserCache ?}8r h%
If static content served by the Struts filter should set browser caching header properties or not Jg=!GU/::
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "!zJQl@
p*0[:/4
struts.serve.static WC<[<uI*
Whether the Struts filter should serve static content or not W=^.s>7G
是否struts过滤器应该提供静态内容 LJ
<pE;`d
gQ0,KYmI3_
struts.tag.altSyntax ,uC-^T
|n
Whether to use the alterative syntax for the tags or not u@e.5_:S)
是否可以用替代的语法替代tags ]P wS3:x
k^;n$r"i5
struts.ui.templateDir wO%lM
The directory containing UI templates s$pXn&:
UI templates的目录夹 8&8!(\xv
ow9a^|@a
struts.ui.theme !@Qk=Xkg
The default UI template theme -}UY2)
默认的UI template主题 8_4!Ar>2
ds!nl1
struts.url.http.port B;N<{Gb
The HTTP port used by Struts URLs j36YIz$a
设置http端口 Z}!'fX."
x @q.u3o9
struts.url.https.port #fa,}aj
The HTTPS port used by Struts URLs ;GG,Z#\m
设置https端口 =>5Lp
BM?!?
struts.url.includeParams fdKE1,;
The default includeParams method to generate Struts URLs +_fFRyu>
在url中产生 默认的includeParams #d,)Qe[
![K\)7 iKo
ZT!8h$SE:
struts.velocity.configfile QG?!XWz
The Velocity configuration file path _[&V9Jt
velocity配置文件路径 lFt!
xk~gGT&
struts.velocity.contexts
}p6]az3
List of Velocity context names 0yC~"u[N Y
velocity的context列表 `.pEI q^
!1I# L!9
af |mk@
struts.velocity.manager.classname 6k;5T
org.apache.struts2.views.velocity.VelocityManager implementation class 6vbKKn`ST
org.apache.struts2.views.velocity.VelocityManager接口名 E<+ G5j
~{lb`M^]h
struts.velocity.toolboxlocation :5/Ue,~ag
The location of the Velocity toolbox +'gO%^{l
velocity工具盒的位置 BkB_?^Nv8
struts.xslt.nocache f> Jj5he/
Whether or not XSLT templates should not be cached {7m2vv? Z
是否XSLT模版应该被缓存 h# 4n