struts2的struts.properties配置文件详解 e=(Y,e3
x 4v:67_^
struts.action.extension @ !")shc
The URL extension to use to determine if the request is meant for a Struts action 4JK6<Pk
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 nCi
]6;Y
W5Z-s.o
struts.configuration n'mrLZw
The org.apache.struts2.config.Configuration implementation class SEI0G_wk$
org.apache.struts2.config.Configuration接口名 o>M^&)Xs
my A;Y
struts.configuration.files 9 wR D=a
A list of configuration files automatically loaded by Struts t}R!i-D|HB
struts自动加载的一个配置文件列表 8j>V?'Szk
r7W.}n*
struts.configuration.xml.reload R7Qj<,
Whether to reload the XML configuration or not ~}b0zL
是否加载xml配置(true,false) [ojL9.6
c(=>5
struts.continuations.package &$|~",
The package containing actions that use Rife continuations KuwhA-IL
含有actions的完整连续的package名称 :-d#kU
bQ>wyA+G&E
struts.custom.i18n.resources q+9^rQ
Location of additional localization properties files to load x,^-a
加载附加的国际化属性文件(不包含.properties后缀) ZOfv\(iJ;
m~Pk]~j
struts.custom.properties ~:JAWs$\V
Location of additional configuration properties files to load bji#ID2]%
加载附加的配置文件的位置 {oY"CZ2
>Y4^<!\v
YA@?L!F
struts.devMode :4zPYG o
Whether Struts is in development mode or not lknj/i5L
是否为struts开发模式 %BC%fVdP
5b rM..
struts.dispatcher.parametersWorkaround Kc[^Pu
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic OF<:BaRs/
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) d"n>Q Tn\
^*l
dsc
struts.enable.DynamicMethodInvocation 0E#??gN
Allows one to disable dynamic method invocation from the URL >e!J(4.-
允许动态方法调用 dE8f?L'
Kv*
1=HES
struts.freemarker.manager.classname #6c,_!
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class SHYekX
org.apache.struts2.views.freemarker.FreemarkerManager接口名 fwt+$`n
?jMM@O`Nu
struts.i18n.encoding 0Lj;t/mG
The encoding to use for localization messages 9)+!*(D
国际化信息内码 ^
q ba<#e
iWeUsS%zpV
struts.i18n.reload 4OM
]8I!
Whether the localization messages should automatically be reloaded 10zM8<bl
是否国际化信息自动加载 x3Cn:F
UZt3Ua&J
struts.locale &c-V
QP(
The default locale for the Struts application WY|~E%k
默认的国际化地区信息 CX/[L)|Ru
s@~3L
struts.mapper.class `Zuo`GP*1
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [cDDZ+6
org.apache.struts2.dispatcher.mapper.ActionMapper接口 (zsmJe
aW:*!d#
struts.multipart.maxSize @{qcu\sZ
The maximize size of a multipart request (file upload) H%n/;DW
multipart请求信息的最大尺寸(文件上传用) e;=R8i
l1zPL3"u_^
struts.multipart.parser
z}J~X%}e
The org.apache.struts2.dispatcher.multipart. !Yo2P"
MultiPartRequest parser implementation for a multipart request (file upload) ^) s6`:
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) vrmMEWPV
JUw|nUnl?
NUiv"tAY
struts.multipart.saveDir r^.9
|YM5
The directory to use for storing uploaded files 8ZV!ld
设置存储上传文件的目录夹 K
@&c
Q-h< av9
struts.objectFactory ~uY5~Qs9G
The com.opensymphony.xwork2.ObjectFactory implementation class R{brf6,
com.opensymphony.xwork2.ObjectFactory接口(spring) ]z7pa^
J",Cwk\
struts.objectFactory.spring.autoWire "=]'"'B:
Whether Spring should autoWire or not 0KExB{ K
是否自动绑定Spring )]Zdaw)X
w@WtW8
p^
struts.objectFactory.spring.useClassCache >H euf"V
Whether Spring should use its class cache or not M"c=_5P
是否spring应该使用自身的cache L7 FFa:#
&:d`Pik6
struts.objectTypeDeterminer zLr:zf l
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class -GL.8"c[
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 b6e2a/x
HHyN\
struts.serve.static.browserCache g[b;1$
If static content served by the Struts filter should set browser caching header properties or not pPs TgGai
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 a)Ht(*/B
hHMp=8J7
struts.serve.static h{yh}04P1
Whether the Struts filter should serve static content or not )sIzBC
是否struts过滤器应该提供静态内容 {nZP4jze
&K