struts2的struts.properties配置文件详解 ,m5i(WL
j-W$)c3X
struts.action.extension =\5WYC
The URL extension to use to determine if the request is meant for a Struts action G2)F<Y
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^MF 2Q+
tZz%x?3G
struts.configuration -OlrA{=c_
The org.apache.struts2.config.Configuration implementation class ZL\^J8PRK
org.apache.struts2.config.Configuration接口名 HbsNF~;
jYRSV7d
struts.configuration.files 1BU97!
A list of configuration files automatically loaded by Struts j2UQQFh
struts自动加载的一个配置文件列表 *qy \%A
,.>9$( s
struts.configuration.xml.reload @:GqOTN
Whether to reload the XML configuration or not R^o535pozc
是否加载xml配置(true,false) ,.cR @5qI
d$3md<lIB
struts.continuations.package ": M]3.
The package containing actions that use Rife continuations ]B=*p0~j^n
含有actions的完整连续的package名称 u@ #%SX
,#3Aaw
struts.custom.i18n.resources BoYY^ih
Location of additional localization properties files to load `v``}8tm
加载附加的国际化属性文件(不包含.properties后缀) @Xl(A]w%!
^]R_t@
struts.custom.properties N'WTIM3W
Location of additional configuration properties files to load W6NhJ#M7
加载附加的配置文件的位置 t8EI"|
iIX%%r+
u0&R*YV
struts.devMode *pa hZiO
Whether Struts is in development mode or not JR.)CzC
是否为struts开发模式 E2>{se Z
;P)oKx
struts.dispatcher.parametersWorkaround NeY*l
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ="& GU%$
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~
O#\$u
%QEBY>|lI
struts.enable.DynamicMethodInvocation s_NY#MPz[
Allows one to disable dynamic method invocation from the URL Z%3CmKdeF
允许动态方法调用 Rh^@1{yr
q=5aHH% |
struts.freemarker.manager.classname |> STb\
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class oLKliA=q
org.apache.struts2.views.freemarker.FreemarkerManager接口名 F8-GnTxa
ojnO69v
struts.i18n.encoding B1 }-
The encoding to use for localization messages @iuX~QA[9
国际化信息内码 k37?NoT
/e>%yq<9B
struts.i18n.reload U,i_}O3Q
Whether the localization messages should automatically be reloaded _dd! nU\A|
是否国际化信息自动加载 u>lt}0
Pq [_(Nt
struts.locale gdf0
The default locale for the Struts application y7F
|v8bq
默认的国际化地区信息 Gb`)d
6}E>B{Y
struts.mapper.class j_so s%-
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class N~$>| gn
org.apache.struts2.dispatcher.mapper.ActionMapper接口 BC.3U.
h^=;\ng1l
struts.multipart.maxSize uxTgK'3
The maximize size of a multipart request (file upload) 88_ef7w
multipart请求信息的最大尺寸(文件上传用) ,EEAxmf
R*:$^v@4
struts.multipart.parser ,1mL=|na
The org.apache.struts2.dispatcher.multipart. ^>l <)$s
MultiPartRequest parser implementation for a multipart request (file upload) ' J@J$#6
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) LhLAQ2~
`r1}:`.m,
doL-G?8B
struts.multipart.saveDir ,K,st+s|
The directory to use for storing uploaded files 5m~9Vl-&
设置存储上传文件的目录夹 5]dlD #
zG_n x3
struts.objectFactory G7&TMg7i
The com.opensymphony.xwork2.ObjectFactory implementation class ZXb|3|D
com.opensymphony.xwork2.ObjectFactory接口(spring) [M[#f&=Z
aU(.LC
struts.objectFactory.spring.autoWire GL O3v.
n;
Whether Spring should autoWire or not y-+W
是否自动绑定Spring hb;CpA
KUU{X~w
struts.objectFactory.spring.useClassCache (y]Z *p:EW
Whether Spring should use its class cache or not Uwkxc
是否spring应该使用自身的cache LnE/62){N
h_ 4*?w
struts.objectTypeDeterminer W_M#Gi/AL
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class `r SOt*<
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 GrG'G(NQ
8B*(P>
struts.serve.static.browserCache 4x)vy-y
If static content served by the Struts filter should set browser caching header properties or not 5{b;wLi$X2
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2om:S+3)2
-/?)0E
struts.serve.static rNV3-#kU
Whether the Struts filter should serve static content or not tsg`c;{
是否struts过滤器应该提供静态内容 $(D>v!dp
EFC+7 L(j
struts.tag.altSyntax 5?$MZaT
Whether to use the alterative syntax for the tags or not Q8`V0E\~
是否可以用替代的语法替代tags :8@)W<>%
KE,.Evyu=
struts.ui.templateDir "yQBHYP
The directory containing UI templates
cV6H!\
UI templates的目录夹 Dc0=gq0
+TqrvI.
struts.ui.theme |j0_^:2r=
The default UI template theme R-m5(
默认的UI template主题 Ua
\f]y
HY5R
struts.url.http.port Kfb(wW
The HTTP port used by Struts URLs
;wMu
设置http端口 )dfhy
DRm`y>.
struts.url.https.port S~:uOm2t\
The HTTPS port used by Struts URLs 2z
!05]B%
设置https端口 o;6~pw%
&UH0Tw4
struts.url.includeParams O W.CU=XU
The default includeParams method to generate Struts URLs /#vt\I<x
在url中产生 默认的includeParams 6Tmz!E0
3?j:M]fR
Crc6wmp
struts.velocity.configfile ?n{m2.H
The Velocity configuration file path #EUT"^:d
velocity配置文件路径 Xd A]);,
(.=Y_g.
struts.velocity.contexts -Wa<}Tz
List of Velocity context names BC!) g+8
velocity的context列表 i45.2,
&Y1h=,KR9
Io<T'K
struts.velocity.manager.classname ~/A2:}Cp=
org.apache.struts2.views.velocity.VelocityManager implementation class Vq0X:<9
org.apache.struts2.views.velocity.VelocityManager接口名 (pCHj'
$s=` {v v
struts.velocity.toolboxlocation W3[>IH"+
The location of the Velocity toolbox 7ucm1
velocity工具盒的位置 axmq/8X
struts.xslt.nocache neu<zSS
Whether or not XSLT templates should not be cached TI8\qIW
是否XSLT模版应该被缓存 ">=E p+ix