struts2的struts.properties配置文件详解 bhD ~4Rz
9~c~E/4!
struts.action.extension 1"?]= j:
The URL extension to use to determine if the request is meant for a Struts action
:Hk_8J
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 rfs (#
GP+2/D
struts.configuration TnNWO+kg
The org.apache.struts2.config.Configuration implementation class HY ;9?KJ'
org.apache.struts2.config.Configuration接口名 o)&"Rf
GRT]aw
struts.configuration.files 3pSj kS|?>
A list of configuration files automatically loaded by Struts */w7?QOv
struts自动加载的一个配置文件列表 ydQ!4
wiJRCH
struts.configuration.xml.reload 56DoO'
Whether to reload the XML configuration or not l$a?A[M$
是否加载xml配置(true,false) ! Z;T-3^.
XE1$K_m
struts.continuations.package +~Tu0?{Z 0
The package containing actions that use Rife continuations {~N3D4n^
含有actions的完整连续的package名称 IkDiT63]I
NQX>Qh
2
struts.custom.i18n.resources bb;(gK;F
Location of additional localization properties files to load <sX VW
加载附加的国际化属性文件(不包含.properties后缀) 7+nm31,<O
ET:T7
struts.custom.properties ?59'dGnz_
Location of additional configuration properties files to load Zw{MgoJ0Z
加载附加的配置文件的位置 M0L&~p_F
%2"J:0j
|sIr?RL{C
struts.devMode c~imE%
Whether Struts is in development mode or not ,%[4j9#!_
是否为struts开发模式 "R[l ZJ@
E]I$}>k
struts.dispatcher.parametersWorkaround gCuAF$o
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ?Go!j?#a
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) aD9q^EoEs
3[d>&xk@$
struts.enable.DynamicMethodInvocation @;iXp>&&
Allows one to disable dynamic method invocation from the URL 6L9,'Bg
允许动态方法调用 *k [J6
&|9.}Z8U
struts.freemarker.manager.classname h2~4G)J
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 9b"MQ[B4#a
org.apache.struts2.views.freemarker.FreemarkerManager接口名 UDEj[12S
dNiH|-$an
struts.i18n.encoding |3shc,7
The encoding to use for localization messages F~HRME;Z
国际化信息内码 5o)Y$>T0
8Pmdk1 ~
struts.i18n.reload 0;<)\Wt=i9
Whether the localization messages should automatically be reloaded 4)kG-[#
是否国际化信息自动加载 .Z\Q4x#!Z
n~.*1. P
struts.locale v2)g 1sXd
The default locale for the Struts application < zOi4v0
默认的国际化地区信息 +=BAslk
S6xgiem
struts.mapper.class 7
oQ[FdRn*
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ZU{4lhe
org.apache.struts2.dispatcher.mapper.ActionMapper接口 9\JQ7$B
SA;#aj}rV
struts.multipart.maxSize R>/NE!q
The maximize size of a multipart request (file upload) xY<{qHcX
multipart请求信息的最大尺寸(文件上传用) Vh|\ _~9
A+getdr
struts.multipart.parser 2;2}wM[
The org.apache.struts2.dispatcher.multipart. -e*ZCwQ
MultiPartRequest parser implementation for a multipart request (file upload) :E&g%'1
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) YXW%]Uy+
(MLwQiop
Y?d9l
struts.multipart.saveDir hK|j6xf.o
The directory to use for storing uploaded files #%lo;W~IY
设置存储上传文件的目录夹 YA:nOvd@O
o0bM=njok
struts.objectFactory BU|#e5
The com.opensymphony.xwork2.ObjectFactory implementation class HKDID[d0
com.opensymphony.xwork2.ObjectFactory接口(spring) ! RW
`3
@?
c2)0
struts.objectFactory.spring.autoWire *L4`$@l8
Whether Spring should autoWire or not Lel|,mc`k2
是否自动绑定Spring NZ0O,}m
5PT5#[
struts.objectFactory.spring.useClassCache MGJ.,tK1
Whether Spring should use its class cache or not k8AW6oO/i
是否spring应该使用自身的cache he(A3{'
tDg}Ys=4K>
struts.objectTypeDeterminer %McE`155
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class l{j~Q^U})
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 V)(R]BK{
AlXNg!j;5K
struts.serve.static.browserCache J aTp}#
If static content served by the Struts filter should set browser caching header properties or not 457\&
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `Ag{)
**3 z;58i
struts.serve.static 9iUr nG*
Whether the Struts filter should serve static content or not 6( CDNMzj
是否struts过滤器应该提供静态内容 (Qo I<j""
"pP^*9FrA
struts.tag.altSyntax ~`M\Ir
Whether to use the alterative syntax for the tags or not 0'YG6(h
是否可以用替代的语法替代tags kE9esC3
!K
f#@0E..
struts.ui.templateDir xG&)1sT#-\
The directory containing UI templates G s+3e8
UI templates的目录夹 Eow_WW;P
l
vMlL5t
struts.ui.theme hCjR&ZA
The default UI template theme L>yJ
默认的UI template主题 W\&8auds
uN([*'0Cg
struts.url.http.port ZOCDA2e(j
The HTTP port used by Struts URLs }XO K,Hw
设置http端口 0Z[oKXm1p
]vWKR."4
struts.url.https.port VXIP0p@
The HTTPS port used by Struts URLs 2EZb
)&Q
设置https端口 Y2o?gug
$6OkIP.
struts.url.includeParams WmY``
The default includeParams method to generate Struts URLs ~cTN~<{dq
在url中产生 默认的includeParams +_XzmjnDd
.Asv%p[W
)M6w5g
struts.velocity.configfile S4=~`$eP
The Velocity configuration file path &wD;SMr<
velocity配置文件路径 g35DV6
Tq]Sn]CSP
struts.velocity.contexts =jB08A
List of Velocity context names [<DZ*|+
velocity的context列表 KD`IX-r{s
AC>`'Gx
QFYWA1<pDh
struts.velocity.manager.classname Ag{iq(X
org.apache.struts2.views.velocity.VelocityManager implementation class O+y-}7YX
org.apache.struts2.views.velocity.VelocityManager接口名 &|f@$ff
Zt.'K(]2h
struts.velocity.toolboxlocation Y. ,Kl~
The location of the Velocity toolbox j@YU|-\qh
velocity工具盒的位置 -FU}pz/
struts.xslt.nocache sCR67/
Whether or not XSLT templates should not be cached =c/wplv*
是否XSLT模版应该被缓存 }ZYv~E'