struts2的struts.properties配置文件详解 %S$$*|_G
G)Y,*.,
struts.action.extension uAoZ&8D6
The URL extension to use to determine if the request is meant for a Struts action n:1Ijh
1
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 H ="I=}
in K;n
struts.configuration tAY{+N]f
The org.apache.struts2.config.Configuration implementation class _bgv +/
org.apache.struts2.config.Configuration接口名 YGc:84S
)_4()#3
struts.configuration.files !<~cjgdx
A list of configuration files automatically loaded by Struts {5d 5Y%&
struts自动加载的一个配置文件列表 =2} kiLKO
vr2PCG[~
struts.configuration.xml.reload ),xD5~_=q
Whether to reload the XML configuration or not &" J;
是否加载xml配置(true,false) wg\p&avvb
H5:f&m
struts.continuations.package k6o8'6wN
The package containing actions that use Rife continuations ?Drq!?3PDc
含有actions的完整连续的package名称 Ve)BF1YG
z%lJWvaA7
struts.custom.i18n.resources 2\T\p<_20
Location of additional localization properties files to load ` QW=<Le?
加载附加的国际化属性文件(不包含.properties后缀) )1HWD]>4
WNQ<XBqAw
struts.custom.properties kl9~obX
1
Location of additional configuration properties files to load A&WC})H5
加载附加的配置文件的位置 `c-omNu
a1_ o
6Q_A-X3hk
struts.devMode Sw5-^2x0'
Whether Struts is in development mode or not /5j5\F:33
是否为struts开发模式 [8[<4~{
Y#=MN~##t
struts.dispatcher.parametersWorkaround uaU2D-ft"
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >V]9<*c
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,j.bdlI#
jcBZ#|B7;
struts.enable.DynamicMethodInvocation JAXD\StC
Allows one to disable dynamic method invocation from the URL DGS,iRLnA
允许动态方法调用 qE]e+S?57a
$z 5kA9
struts.freemarker.manager.classname &Vgpv#&Cfx
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class g0B%3v
org.apache.struts2.views.freemarker.FreemarkerManager接口名 @>V;guJC%
DZ`m{l3H
struts.i18n.encoding ~oT*@
The encoding to use for localization messages RU~ku{8?
国际化信息内码 ~{vB2
8]R{5RGy
struts.i18n.reload wEJzLFCn
Whether the localization messages should automatically be reloaded v=cQ`nou
是否国际化信息自动加载 3T4HX|rC
p?4[nS-,
struts.locale tAI
v+L
The default locale for the Struts application M'|p<SO]
默认的国际化地区信息 A=p'`]Yld
\4C[<Gbx$(
struts.mapper.class u|.7w2
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Ek6g?rj_
org.apache.struts2.dispatcher.mapper.ActionMapper接口 c/v|e&q
o;
U!{G(X
struts.multipart.maxSize *kYGXT,f]
The maximize size of a multipart request (file upload) N#t`ZC&m'
multipart请求信息的最大尺寸(文件上传用) PiCGZybCA
D3P/: 4
struts.multipart.parser t4/ye>P &
The org.apache.struts2.dispatcher.multipart. Pt/]Z<VL
MultiPartRequest parser implementation for a multipart request (file upload) lI.oyR'
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) DX+zK'34
C_8_sbZ/
mZPvG
struts.multipart.saveDir j0a=v}j3
The directory to use for storing uploaded files cGdYfi
设置存储上传文件的目录夹 (}.MB3`#C
p3{Ff5FZ
struts.objectFactory ]t`SCsoo
The com.opensymphony.xwork2.ObjectFactory implementation class gTU5r4xm~
com.opensymphony.xwork2.ObjectFactory接口(spring) ;B[(~LCyT
5$N#=i`V
struts.objectFactory.spring.autoWire e3~{l~Rb
Whether Spring should autoWire or not <'SS IMr
是否自动绑定Spring %9Z0\
a)[
kw]?/s`
struts.objectFactory.spring.useClassCache Z[ (d7
Whether Spring should use its class cache or not NVsaV;u
是否spring应该使用自身的cache ~T-uk
ar}-~~h 5
struts.objectTypeDeterminer >8=lX`9f{
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0.w7S6v|&
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 UOl*wvy
}f?[m&<
struts.serve.static.browserCache E]GbLU;TH
If static content served by the Struts filter should set browser caching header properties or not A~<!@`NjB
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 [(5.?
`&