struts2的struts.properties配置文件详解 vmV<PK-
n\U3f M>N
struts.action.extension #<^ngoOj
The URL extension to use to determine if the request is meant for a Struts action Ax'jNol
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 8ec6J*b
."8bW^:
struts.configuration Wix/Az
The org.apache.struts2.config.Configuration implementation class &n|S:"B
org.apache.struts2.config.Configuration接口名 Y<A593
h3 Bs
struts.configuration.files ISp'4H7R+N
A list of configuration files automatically loaded by Struts G:n,u$2a<
struts自动加载的一个配置文件列表 /^BaQeH?R
9PpPAF
struts.configuration.xml.reload c(]NpH
in
Whether to reload the XML configuration or not !W^b:qjJ
是否加载xml配置(true,false) !!WSGZUR
vCPiT2G
struts.continuations.package <Z8I#IPl
The package containing actions that use Rife continuations y093-
含有actions的完整连续的package名称 - %ul9} .
2N,<~L`FX'
struts.custom.i18n.resources _A8x{[$
Location of additional localization properties files to load wUd6xR
加载附加的国际化属性文件(不包含.properties后缀) dc ]+1
A
01UEd8
struts.custom.properties 09_L^'`
Location of additional configuration properties files to load |'C{nTX
加载附加的配置文件的位置 |.]:#)^X?
d"7l<y5
]#UyYgPk
struts.devMode 'dnTu@mUT
Whether Struts is in development mode or not s@WF[S7D
是否为struts开发模式 f1Ak0s,zrc
>o#5tNm
struts.dispatcher.parametersWorkaround G^Z
SQ!
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic FG?69b>
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) RV*7?y%3
JZCRu_M>|
struts.enable.DynamicMethodInvocation xz@/^Cj
Allows one to disable dynamic method invocation from the URL |"7^9(
允许动态方法调用 QasUgZ
N*k` 'T
struts.freemarker.manager.classname -Qt>yzD3
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Z#n!=kTTm
org.apache.struts2.views.freemarker.FreemarkerManager接口名 D~KEjz!bQ
hXvg<Rf
struts.i18n.encoding ?5%0zMC
The encoding to use for localization messages m{U+aqAQK
国际化信息内码 JWu^7}@~=
^>g7Kg"0
struts.i18n.reload B/*`u
Whether the localization messages should automatically be reloaded r%*UU4xvB
是否国际化信息自动加载 0a#2 Lo
]cz*k/*0
struts.locale fvW7a8k3
The default locale for the Struts application Bf&,ACOf
默认的国际化地区信息 WVP^C71
uC_&?
struts.mapper.class oGK 1D
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Cst:5m0!
org.apache.struts2.dispatcher.mapper.ActionMapper接口 S 1%/ee3
pa7Iz^i
struts.multipart.maxSize RJ#xq#l
The maximize size of a multipart request (file upload)
\= M*x
multipart请求信息的最大尺寸(文件上传用) N8<Wm>GLX~
+/g/+B_b
struts.multipart.parser E1atXx
The org.apache.struts2.dispatcher.multipart. 9~6FWBt
MultiPartRequest parser implementation for a multipart request (file upload) ^Fy{Q*p`(
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Qx9lcO_
1^bI9 /
8s,B,s.
struts.multipart.saveDir $)L=MEdx
The directory to use for storing uploaded files g;bfi{8s_
设置存储上传文件的目录夹 tMWDKatb
\6UK:'5{
struts.objectFactory l8"
The com.opensymphony.xwork2.ObjectFactory implementation class R7/"ye:7J
com.opensymphony.xwork2.ObjectFactory接口(spring) f0 ;Fokt(
n4albG4
struts.objectFactory.spring.autoWire @KM !g,f
Whether Spring should autoWire or not {b|:q>Be8
是否自动绑定Spring MEOVw[hO
xMk0Xf'_
struts.objectFactory.spring.useClassCache <X7x
Whether Spring should use its class cache or not 6cCC+*V{
是否spring应该使用自身的cache 6K/j,e>L
_uvRC+~R
struts.objectTypeDeterminer {8NnRnzU
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class DE GEr-
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1-@[th
NJEubC?
struts.serve.static.browserCache }Q 7~tu
If static content served by the Struts filter should set browser caching header properties or not Et\z^y
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 e 1W9Z $m
AE:IXP|c
struts.serve.static g~5$X{
Whether the Struts filter should serve static content or not hOI|#(-
是否struts过滤器应该提供静态内容 &