struts2的struts.properties配置文件详解 rA7S1)Kq
IbC)F> Dq
struts.action.extension Nsy.!,!c
The URL extension to use to determine if the request is meant for a Struts action bjZ?WZr
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^ +G> N
ud1E@4;qf
struts.configuration ?6gI8K6X
The org.apache.struts2.config.Configuration implementation class QS_xOQ '
org.apache.struts2.config.Configuration接口名 1U!CD-%(
5,3h'\ "!
struts.configuration.files h&P[9:LH
A list of configuration files automatically loaded by Struts N~_gT
Jr~P
struts自动加载的一个配置文件列表 mv_-|N~
4i \n1RW
struts.configuration.xml.reload Yp$lc^)c>
Whether to reload the XML configuration or not S45jY=)z
是否加载xml配置(true,false) ]](hwj
]H*=Z:riu
struts.continuations.package XooAL0w
The package containing actions that use Rife continuations L!RLw4
含有actions的完整连续的package名称 ;F-kE4w
m"5gzH
struts.custom.i18n.resources }0o0 "J-$
Location of additional localization properties files to load |gNOv;l
加载附加的国际化属性文件(不包含.properties后缀) lH8?IkK,g
CS
struts.custom.properties *^]ba>
Location of additional configuration properties files to load W0Vjs|/
加载附加的配置文件的位置 78kk"9h'
X|:O`b$G
$0
)K [K
struts.devMode @,hvXl-G *
Whether Struts is in development mode or not `O F\f
是否为struts开发模式 .#SWfAb2h
+|N"i~f>j
struts.dispatcher.parametersWorkaround rx<fjA%
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ftbu:RtK^^
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Gvw el!6
H'0S;A+Y6
struts.enable.DynamicMethodInvocation d*(1t\
Allows one to disable dynamic method invocation from the URL 00ho*p!E'
允许动态方法调用 @W8RAS~
6[i-Tl
struts.freemarker.manager.classname Ogb!YF#e
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .*+&>m7
org.apache.struts2.views.freemarker.FreemarkerManager接口名 $t^`Pt*:u
'-et:Lv7
struts.i18n.encoding ]#;JPO#*
The encoding to use for localization messages 6K6ihR!d
国际化信息内码 V*)gJg
6b0#z#E
struts.i18n.reload #gP\q?5Ov
Whether the localization messages should automatically be reloaded K(hf)1q
是否国际化信息自动加载 U -(d~]$
=619+[fK
struts.locale 8V@3T/}
The default locale for the Struts application fa)G$Q
默认的国际化地区信息 Xg"=,j2
dCBJV
struts.mapper.class JyV"jL
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >:.Bn 8-
org.apache.struts2.dispatcher.mapper.ActionMapper接口 3s+D
x$Ud
Z+4J4Ka^!(
struts.multipart.maxSize 1*s Lj#
The maximize size of a multipart request (file upload) @d)6LA9Ec
multipart请求信息的最大尺寸(文件上传用) q;U[f6JjE
I2b[
struts.multipart.parser &WIPz\
The org.apache.struts2.dispatcher.multipart. !GO4cbdQ
MultiPartRequest parser implementation for a multipart request (file upload) DLVf7/=3~
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) q~lmOT~E
giv cq'L
#u>JCPz
struts.multipart.saveDir k&^f Iz
The directory to use for storing uploaded files cP-6O42
设置存储上传文件的目录夹 VHy$\5oYg
Ma$b(4dB
struts.objectFactory {ES3nCL(8
The com.opensymphony.xwork2.ObjectFactory implementation class N:0mjHG
com.opensymphony.xwork2.ObjectFactory接口(spring) IP-mo!Y.
i;cqK&P;]
struts.objectFactory.spring.autoWire :Q89j4,
Whether Spring should autoWire or not z}Q54,9m
是否自动绑定Spring H}d&>!\}F
6+>q1,<
struts.objectFactory.spring.useClassCache Gk<h_1WWK
Whether Spring should use its class cache or not >zhbOkR9c
是否spring应该使用自身的cache ke/QFN-`
9G&l{7 =
struts.objectTypeDeterminer N=(rl#<
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Bb
m 1&d#
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 3AWg 43L7
&BP%~
struts.serve.static.browserCache -*3wNGh{
If static content served by the Struts filter should set browser caching header properties or not \'shnzs
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 wzF"^CJ
B>Mk "WjQ
struts.serve.static
Y.ic=<0H
Whether the Struts filter should serve static content or not +Oo>V~
是否struts过滤器应该提供静态内容 A@GyKx%x$
`6'fX[j5
struts.tag.altSyntax ^;M!u8 [
Whether to use the alterative syntax for the tags or not i-$]Tg
是否可以用替代的语法替代tags 60*=Bs%b
l%U{Unwu
struts.ui.templateDir 8uNq353
The directory containing UI templates z@dHXj )
UI templates的目录夹 |iU#!+zY
`Q,03W#GJ%
struts.ui.theme wPOQy~:
The default UI template theme ((#|>W\&