struts2的struts.properties配置文件详解 ad~ qr n\
,
m\0IgZdz
struts.action.extension xH
f9N?
The URL extension to use to determine if the request is meant for a Struts action
K8+b\k4E
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^y3\e
#k"[TCQ>
struts.configuration (
ou:"Y
The org.apache.struts2.config.Configuration implementation class sXydMk`J
org.apache.struts2.config.Configuration接口名 Bdg*XfXXk
M84LbgGM%
struts.configuration.files a-}%R
A list of configuration files automatically loaded by Struts 54;iLL
struts自动加载的一个配置文件列表 |knP
RXof$2CZS
struts.configuration.xml.reload '~f@p~P
Whether to reload the XML configuration or not Z8 # I
是否加载xml配置(true,false) :E^B~ OuL
7]^ }
struts.continuations.package I^wj7cFo5
The package containing actions that use Rife continuations )N6R#
含有actions的完整连续的package名称 p/5!a~1'xN
zbi
struts.custom.i18n.resources \=_8G:1
Location of additional localization properties files to load i&30n#
加载附加的国际化属性文件(不包含.properties后缀) 1Efl|lV
"p;DQ-V
struts.custom.properties .{;!bw
Location of additional configuration properties files to load <s2l*mc
加载附加的配置文件的位置 E*I]v
dSL %%
XH2SEeh
struts.devMode #wd \&
Whether Struts is in development mode or not .;F+ QP0
是否为struts开发模式 0!VLPA:
X
or ,}. w
struts.dispatcher.parametersWorkaround 4l1=l#\S
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic u}rot+)%
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6f>l~$
YBCjcD[G
struts.enable.DynamicMethodInvocation %<"11;0tp
Allows one to disable dynamic method invocation from the URL #,PAM.rH
允许动态方法调用 "@?|Vv,vn
a"DV`jn
struts.freemarker.manager.classname Q)@1:(V/
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class O1ha'@qID
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ^hHeH:@
{UmCn>c
struts.i18n.encoding 8k1r|s@d
The encoding to use for localization messages ygW@[^g
国际化信息内码 'f}S,i +q
]p*)
PpIl
struts.i18n.reload :fYwFD( 9
Whether the localization messages should automatically be reloaded @r]s9~Lx9
是否国际化信息自动加载 48ma&f;
=qtoDe
struts.locale iy#OmI>j
The default locale for the Struts application YJ^ lM\/<
默认的国际化地区信息 h]MVFn{
-5cH$]1\
struts.mapper.class cMWO_$
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class qQcC[50
org.apache.struts2.dispatcher.mapper.ActionMapper接口 bZ9NnSuH
F=om^6G%X5
struts.multipart.maxSize 5Hm!5:ZB
The maximize size of a multipart request (file upload) {^kG<v.vV
multipart请求信息的最大尺寸(文件上传用) i-FUAR
tN{t-xUgk
struts.multipart.parser @NNLzqqY
The org.apache.struts2.dispatcher.multipart. >h[!gXL^
MultiPartRequest parser implementation for a multipart request (file upload) /kA19E4
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) H/3Zdj 9
\zI&n &T
DqMK[N,0
struts.multipart.saveDir Tb={g;0@
The directory to use for storing uploaded files M96( Rg
设置存储上传文件的目录夹 V0 F30rK
_o?(t\B9{
struts.objectFactory c9uT`h
The com.opensymphony.xwork2.ObjectFactory implementation class !~N4}!X3du
com.opensymphony.xwork2.ObjectFactory接口(spring) N
&[,nUd
]k:m2$le
struts.objectFactory.spring.autoWire 8T)zB6ng
Whether Spring should autoWire or not W#L"5pRg
是否自动绑定Spring AMd)d^;
bVeTseAG
struts.objectFactory.spring.useClassCache --twkD
Whether Spring should use its class cache or not j?f <hQ
是否spring应该使用自身的cache {~t4
D' `"_
struts.objectTypeDeterminer E)JyKm.
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^B5cNEO
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 S@g/Tn
(`]*Y(/2G
struts.serve.static.browserCache i5KwYoN
If static content served by the Struts filter should set browser caching header properties or not V0Z7o\-J
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Hm
VTfH'
daIL> c"
struts.serve.static b'1d<sD
Whether the Struts filter should serve static content or not ,imvA5
是否struts过滤器应该提供静态内容 ,GJ>vT)
&fSc{/
struts.tag.altSyntax E)O|16f|>
Whether to use the alterative syntax for the tags or not K)`:v|d
是否可以用替代的语法替代tags 1 j12Qn@]
bez'[Y{
struts.ui.templateDir R5eB,FN
The directory containing UI templates -t6R!ZI
UI templates的目录夹 p,iCM?[|
7vaN&%;E%
struts.ui.theme NceB'YG|
The default UI template theme t/*K#]26
默认的UI template主题 7+a%ehwU
F> QT|
struts.url.http.port `f+8WPJPZ
The HTTP port used by Struts URLs dBMe`hM)
设置http端口 *fl{Y(_OO
6#)Jl
struts.url.https.port T_x+sv=|X!
The HTTPS port used by Struts URLs @qPyrgy
设置https端口
NVJ&C]H6
Nr24[e
G>d
struts.url.includeParams sk
?'^6Xh
The default includeParams method to generate Struts URLs pTALhj#,
在url中产生 默认的includeParams `GQiB]Z
,![Du::1
ZJ9Jf2 c
struts.velocity.configfile ,B %fjcn
The Velocity configuration file path t\pK`DM-[
velocity配置文件路径 !p,hy`
So=nB} b[?
struts.velocity.contexts lW$&fuDHF
List of Velocity context names Z|(c(H2
velocity的context列表 "Ug/
',jkV
D*cyFAF
#<wpSs
struts.velocity.manager.classname S&3X~jD(1
org.apache.struts2.views.velocity.VelocityManager implementation class 8b(1ut{
org.apache.struts2.views.velocity.VelocityManager接口名 !(*a+ur&i
Y#lk!#\Y
struts.velocity.toolboxlocation GwQZf|
The location of the Velocity toolbox O<1vSav!K
velocity工具盒的位置 ~zxwg+:QO
struts.xslt.nocache ``$%L=_m
Whether or not XSLT templates should not be cached M%&A.j[
是否XSLT模版应该被缓存 n#>.\F