struts2的struts.properties配置文件详解 KIps{_J[<
vS6}R5
struts.action.extension jW}n6w5
The URL extension to use to determine if the request is meant for a Struts action
4^1{UlCop
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 xO`w|k
{
KE[8n
struts.configuration muwXzN(KX
The org.apache.struts2.config.Configuration implementation class )Mx[;IwE
org.apache.struts2.config.Configuration接口名 cYFR.~p
KwlN
struts.configuration.files ]0GOSh
A list of configuration files automatically loaded by Struts aEW
Z*y
struts自动加载的一个配置文件列表 U\&kT/6vh
? }|;ai
struts.configuration.xml.reload :+|b7fF
Whether to reload the XML configuration or not :@I?JSi
是否加载xml配置(true,false) mR,p?[P
IvTtQq
struts.continuations.package /tikLJ
The package containing actions that use Rife continuations |xG|HJm,
含有actions的完整连续的package名称 a.v$+}+.[,
GrGgR7eC#P
struts.custom.i18n.resources "Q`{+|'=E
Location of additional localization properties files to load h
`d(?1
加载附加的国际化属性文件(不包含.properties后缀) rteViq+|.
N{IY\/;\
struts.custom.properties KFor~A# D
Location of additional configuration properties files to load e!URj\*
加载附加的配置文件的位置 X's-i!
VHsuC$3W
;'{:}K=h
struts.devMode .L0pS.=LT
Whether Struts is in development mode or not <T[%03
是否为struts开发模式 6A7UW7/
%f\ M61Z
struts.dispatcher.parametersWorkaround 2lDgvug
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 2mP|
hp?
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /7De.O~H
=i~/.Nu&
struts.enable.DynamicMethodInvocation dGAthbWJ
Allows one to disable dynamic method invocation from the URL l7Y^C1hM
允许动态方法调用 5m&{f>]T
v_J\yW'K
struts.freemarker.manager.classname W1$B6+}Z0V
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class j_-$xz5-
org.apache.struts2.views.freemarker.FreemarkerManager接口名 - o$S=
(k"|k
struts.i18n.encoding vQ^a7
The encoding to use for localization messages PorBB7iL
国际化信息内码 &STgj|t_
H6 ( ~6Bp5
struts.i18n.reload B<
P H7
Whether the localization messages should automatically be reloaded d~tG#<^`
是否国际化信息自动加载 k[R/RhHQ,
zkYlIUD
struts.locale g-U'{I5F
The default locale for the Struts application 7Av/ZS
默认的国际化地区信息 d i`}Y&
p+@Wh3
struts.mapper.class )p4o4aM
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class a"&@G=M@d
org.apache.struts2.dispatcher.mapper.ActionMapper接口 "tBdz V
2GLq#")P
struts.multipart.maxSize &_HSrU
The maximize size of a multipart request (file upload) W}EI gVHs
multipart请求信息的最大尺寸(文件上传用) r.**
z j
UTc$zc7
struts.multipart.parser HUr;ysw
The org.apache.struts2.dispatcher.multipart. 64z9Yr@
MultiPartRequest parser implementation for a multipart request (file upload) L.$9ernVY
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)
M.zS +
s<5q%5ix3
SE)_5|k*
struts.multipart.saveDir =H.l/'/Z
The directory to use for storing uploaded files z11;r]VI
设置存储上传文件的目录夹 S,fMGKcq
Za}*6N=?*
struts.objectFactory w&f8AY)#]4
The com.opensymphony.xwork2.ObjectFactory implementation class kEf}yTy
com.opensymphony.xwork2.ObjectFactory接口(spring) FSoL|lH
@=h%;"
struts.objectFactory.spring.autoWire - y{*U1[
Whether Spring should autoWire or not M7/P&d
是否自动绑定Spring p%+ 0^]v1
"zc@(OA[z
struts.objectFactory.spring.useClassCache $TU=^W)X
Whether Spring should use its class cache or not } >b4s!k,
是否spring应该使用自身的cache !p >a,8w
nS"K
dPM
struts.objectTypeDeterminer o<1e-
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class GBzC<e#
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 s+(%N8B
TDBWYppM
struts.serve.static.browserCache BWFl8
!_X
If static content served by the Struts filter should set browser caching header properties or not /p~"?9b[ i
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \)eHf
7H
~0w7E0DE[
struts.serve.static J5)e 7
Whether the Struts filter should serve static content or not ,w; ~R4x
是否struts过滤器应该提供静态内容 VQU [5C
LO[1xE9
struts.tag.altSyntax Qh%/{6(u
Whether to use the alterative syntax for the tags or not I.r&;
是否可以用替代的语法替代tags iC?s`c0B
P0~3<h?U8
struts.ui.templateDir <Q/^[
The directory containing UI templates 5u T
9ssC
UI templates的目录夹 5#g<L ~
fO[X<|9
struts.ui.theme `J[(Dx'y=t
The default UI template theme G]E$U]=9r:
默认的UI template主题 V.)y7B
@;qC% +^
struts.url.http.port {S%)GvrT
The HTTP port used by Struts URLs @ \J R xJ
设置http端口 /%po@Pm#I
Wy@Z)z?
struts.url.https.port q~p,A>K
The HTTPS port used by Struts URLs "h_]it};C
设置https端口 zwR@^ 5^6
$_k'!/5
struts.url.includeParams t>7t4>X
The default includeParams method to generate Struts URLs "Ol;0>$
在url中产生 默认的includeParams %1gJOV
bW;0E%_
)&1yt4
x6%
struts.velocity.configfile leiED'
The Velocity configuration file path >s1FTB-$W
velocity配置文件路径 &JAQ:([:
J_}&Btb)e
struts.velocity.contexts Xx[
LK
List of Velocity context names |w- tkkS
velocity的context列表 [6V'UI6
><"5
VwR
K~<pD:s
struts.velocity.manager.classname =x>z|1
org.apache.struts2.views.velocity.VelocityManager implementation class }r]WB)_w
org.apache.struts2.views.velocity.VelocityManager接口名 r/HKxXT
s#`%c({U|
struts.velocity.toolboxlocation SW(7!`
The location of the Velocity toolbox {.bLh0
velocity工具盒的位置 5
usfyY]z
struts.xslt.nocache daaUC
Whether or not XSLT templates should not be cached FI.S?gy0
是否XSLT模版应该被缓存 ?)<zrE5p