struts2的struts.properties配置文件详解 ,:{+
H
(La
struts.action.extension [J
Xrj{
The URL extension to use to determine if the request is meant for a Struts action 9m!fW|4
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 B/}>UHM
9\2&6H
struts.configuration JH#?}L/0Fe
The org.apache.struts2.config.Configuration implementation class !}7m^
org.apache.struts2.config.Configuration接口名 lY`<-`{I_
j+/*NM_y3
struts.configuration.files b<7f:drVC
A list of configuration files automatically loaded by Struts ]42l:at
struts自动加载的一个配置文件列表 +3CMfYsr8
7 >(ygu
struts.configuration.xml.reload ^Quy64M
Whether to reload the XML configuration or not hrF4 a$
是否加载xml配置(true,false) ?CDq^)T[
q4oZJ -`
struts.continuations.package ,,gYU_V
The package containing actions that use Rife continuations !NjE5USi
含有actions的完整连续的package名称 Y}Uw7\e
b.&YUg[#
struts.custom.i18n.resources {'(8<n57
Location of additional localization properties files to load 8),Y|4
加载附加的国际化属性文件(不包含.properties后缀) TH &B9
.VT,,0
struts.custom.properties 6npwu5!
Location of additional configuration properties files to load a$m?if=
加载附加的配置文件的位置 79_MP
Viw3 /K
Z%R^;8 !~
struts.devMode Dl{Pd`D
Whether Struts is in development mode or not XLT<,B}e
是否为struts开发模式 W!*vO>^1W
AbB>ZT>hR
struts.dispatcher.parametersWorkaround \mloR
'
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic '>BHwc
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)
0saEcJ-
=B1!em|
struts.enable.DynamicMethodInvocation ;Lu|fQ#u*
Allows one to disable dynamic method invocation from the URL 1YxI q565
允许动态方法调用 3$54*J
dQ]j
r.
struts.freemarker.manager.classname
q-#fuD^
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class p(Mv^ea
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ;f
Gi5=-
4tjRju?
struts.i18n.encoding Hw?
J1#1IE
The encoding to use for localization messages >B0S5:S$W
国际化信息内码 ??PpHBJ')
it$~uP |
struts.i18n.reload 65v'/m!ys
Whether the localization messages should automatically be reloaded ~WSC6Bh@9
是否国际化信息自动加载 $ }53f'QjW
al/~
struts.locale c@`P{6
The default locale for the Struts application Wj&s5;2a
默认的国际化地区信息 &n|gPp77$
*O~D lf
struts.mapper.class G`jhzG
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Eh+lLtZ
org.apache.struts2.dispatcher.mapper.ActionMapper接口 vq}V0-
<
J7ln6 Y
struts.multipart.maxSize k>"I!&#g
The maximize size of a multipart request (file upload) gQ~4udla.
multipart请求信息的最大尺寸(文件上传用) Ad `IgZ
-SQYr
struts.multipart.parser A:f+x|[
The org.apache.struts2.dispatcher.multipart. \] K-<&f
MultiPartRequest parser implementation for a multipart request (file upload) Zh@\+1]
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) f+&yc'[
0W)_5f&
n !QjptQ
struts.multipart.saveDir ]+AI:
The directory to use for storing uploaded files $1e@3mzM
设置存储上传文件的目录夹 H\T
h4teE
<IYt*vlm
struts.objectFactory 4.8,&{w<m
The com.opensymphony.xwork2.ObjectFactory implementation class 0^=S:~G
com.opensymphony.xwork2.ObjectFactory接口(spring) 7Do)++t
DWI!\lK
struts.objectFactory.spring.autoWire PA E)3
Whether Spring should autoWire or not L<:ya
是否自动绑定Spring dx^3(#B
S<TfvQ\,"@
struts.objectFactory.spring.useClassCache 4?Io@[7A)
Whether Spring should use its class cache or not (&S v$L@
是否spring应该使用自身的cache ="`y<J P
X^ovP'c2
struts.objectTypeDeterminer VaB7)r
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Vr'Z5F*@
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,Gfnf%H\8>
p:
o*=
struts.serve.static.browserCache z,)Fvs4U.
If static content served by the Struts filter should set browser caching header properties or not m#Cp.|>kP4
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \ys3&<;b
2.6,c$2tB
struts.serve.static cMj<k8.{
Whether the Struts filter should serve static content or not x\*5A,w{c]
是否struts过滤器应该提供静态内容 O1z>A
*jYwcW"R{z
struts.tag.altSyntax zMa`olTZ
Whether to use the alterative syntax for the tags or not IAfYlS#<yD
是否可以用替代的语法替代tags <^=k~7m
&HWH
UWB
struts.ui.templateDir zVIzrz0
The directory containing UI templates !`SR$dnE
UI templates的目录夹 B7#;tCf
| c;S'36
struts.ui.theme Ac|`5'/Tx
The default UI template theme o` e~1
默认的UI template主题 }Eav@3h6
H Q2-20
struts.url.http.port VAq:q8(K
The HTTP port used by Struts URLs RR"#z'zQ
设置http端口 r
)T`?y
t*COzE
struts.url.https.port :A[ Gtc(_
The HTTPS port used by Struts URLs (nBsf1l
设置https端口 '!_o`t@
uuq?0t2Z
struts.url.includeParams bc+'n
The default includeParams method to generate Struts URLs hJ|z8Sy@1
在url中产生 默认的includeParams WYq, i}S
\UXQy{Ex
PgVM>_nHk
struts.velocity.configfile LE7o[<>
The Velocity configuration file path MFC= oKD
velocity配置文件路径 (F
@IUbnl
8}U/fQ~
struts.velocity.contexts zRe0z2
List of Velocity context names +Y.As
velocity的context列表 =/zQJzN
R)#"Ab Z'
_8bqk\m+
struts.velocity.manager.classname C ZJW`c/
org.apache.struts2.views.velocity.VelocityManager implementation class 5f1yszd
org.apache.struts2.views.velocity.VelocityManager接口名 zP5H TEz
m8FKr/Z-
struts.velocity.toolboxlocation o}[wu:>yk
The location of the Velocity toolbox 1f}Dza9
velocity工具盒的位置 77)C`]0(
struts.xslt.nocache $hA[vi\5
Whether or not XSLT templates should not be cached Qc6323/"
是否XSLT模版应该被缓存 0py0zE6,,