struts2的struts.properties配置文件详解 mV3cp rRqv
xai*CY@cQ
struts.action.extension W!Gq.M
The URL extension to use to determine if the request is meant for a Struts action ?1~` *LE
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Ua:}V n&!
t%d Z-Ym
struts.configuration ZF!h<h&,
The org.apache.struts2.config.Configuration implementation class h0g8*HY+}
org.apache.struts2.config.Configuration接口名 ;AG8C#_
g2+2%6m0
struts.configuration.files g|o,uD
A list of configuration files automatically loaded by Struts =9H7N]*h
struts自动加载的一个配置文件列表 5AFJC?
{&&z-^
struts.configuration.xml.reload \"7*{L:
Whether to reload the XML configuration or not )3cAQ'w
是否加载xml配置(true,false) $c!p&
FaAC&F@u
struts.continuations.package \
#F
The package containing actions that use Rife continuations [g|_~h
含有actions的完整连续的package名称 =IZT(8
lf|FWqqV
struts.custom.i18n.resources AYBns]!
Location of additional localization properties files to load =jN.1}
加载附加的国际化属性文件(不包含.properties后缀) aqZi:icFa
jVe1b1rt~3
struts.custom.properties B`)BZ,#p
Location of additional configuration properties files to load w{8xpAqm
加载附加的配置文件的位置 l:~/<`o
Oi.C(@^(
/xBb[44z8
struts.devMode P8:dU(nlW
Whether Struts is in development mode or not 3DX*gsx(
是否为struts开发模式 mthA4sz
8
/]S^'>
struts.dispatcher.parametersWorkaround XX TL..
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic P= BZ+6DS
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6Igz:eX
1ba~SHi
struts.enable.DynamicMethodInvocation !qQl@j O
Allows one to disable dynamic method invocation from the URL %A/0 '
允许动态方法调用 z|J_b"u4
,2oWWsC7
struts.freemarker.manager.classname }0*@fO
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Tk[ $5u*,
org.apache.struts2.views.freemarker.FreemarkerManager接口名 W+c<2?d:
[85spub&}
struts.i18n.encoding O/(`S<iip
The encoding to use for localization messages
NR6#g,+7
国际化信息内码 yxQ1`'[CR
n38p !oS
struts.i18n.reload a5^]20Fa
Whether the localization messages should automatically be reloaded <$$yw=ef
是否国际化信息自动加载 p`dU2gV
ys^oG$lq
struts.locale |^I0dR/w:
The default locale for the Struts application qA7>vi%
默认的国际化地区信息 !-x$L>1$
:pY/-Cgv
struts.mapper.class \:'/'^=#|
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M/'sl;
org.apache.struts2.dispatcher.mapper.ActionMapper接口 B]wk+8SMY.
2wg5#i
struts.multipart.maxSize 1=c\Rr9]
The maximize size of a multipart request (file upload) f}ji?p
multipart请求信息的最大尺寸(文件上传用) \)904W5R
M)+H{5bt
struts.multipart.parser /Iy]DU8
The org.apache.struts2.dispatcher.multipart. A`$%SVgFV^
MultiPartRequest parser implementation for a multipart request (file upload) ^mDe08.
%b
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) VcYrK4
ek\ xx
rU:`*b<
struts.multipart.saveDir myQagqRx
The directory to use for storing uploaded files 2;`1h[,-^
设置存储上传文件的目录夹 dq6m>;`
N)| yu1S
struts.objectFactory x /S}Q8!"}
The com.opensymphony.xwork2.ObjectFactory implementation class \ZFGw&yN
com.opensymphony.xwork2.ObjectFactory接口(spring) k,6f
@V sG'
struts.objectFactory.spring.autoWire IqHV)A
Whether Spring should autoWire or not L| +~"'l
是否自动绑定Spring sqwGsO$#
34O
`@j0-3
struts.objectFactory.spring.useClassCache (zYtNLoFx
Whether Spring should use its class cache or not ]NY~2jmX
是否spring应该使用自身的cache [wOn|)&
&
ItVWO:x&v
struts.objectTypeDeterminer 'RR~7h
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class '~<m~UXvD#
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #aJ(m&
81F/G5
struts.serve.static.browserCache 29"'K.r
If static content served by the Struts filter should set browser caching header properties or not WIT>!|w_
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Jy:Qlx`
RDi]2
struts.serve.static &< `N T D
Whether the Struts filter should serve static content or not )gIKH{JYL
是否struts过滤器应该提供静态内容 wLH>:yKUU
&*,#5.
struts.tag.altSyntax .-c4wm}
Whether to use the alterative syntax for the tags or not Y@vTaE^w3
是否可以用替代的语法替代tags *boR`[Ond
ay
;S4c/_
struts.ui.templateDir ["93~[[^
The directory containing UI templates ?k&Vy
UI templates的目录夹 GL#u p
Tod&&T'UW
struts.ui.theme C.yQ=\U2
The default UI template theme uAJx.>$b
默认的UI template主题 jyUjlYAAv`
xd?f2=dd~h
struts.url.http.port u(>^3PJ+
The HTTP port used by Struts URLs R6Km\N
设置http端口 Fn;SF4KOm
gnOt+W8
struts.url.https.port =JEv,ZGT3
The HTTPS port used by Struts URLs ^R7lom.
设置https端口
}<v@01
v5#jZ$<F
struts.url.includeParams /sx&=[
D
The default includeParams method to generate Struts URLs t ;;U}
在url中产生 默认的includeParams IqaT?+O\?r
uK"=i8rs4
DS(}<HK{
struts.velocity.configfile 4K#>f4(U`g
The Velocity configuration file path %9F([K
velocity配置文件路径 KE5kOU;
df4A RP+
struts.velocity.contexts p
Z|V
3
List of Velocity context names 9k'7832u
velocity的context列表 .\ULbN3Z
TOB-aAO
NI76U
struts.velocity.manager.classname pk$l+sNZ=
org.apache.struts2.views.velocity.VelocityManager implementation class JxdDC^> 0
org.apache.struts2.views.velocity.VelocityManager接口名 {tuYs:
2>xF){`
struts.velocity.toolboxlocation o4F2%0gJ
The location of the Velocity toolbox a
od-3"7[
velocity工具盒的位置 [2!w_Iw'
struts.xslt.nocache HSE!x_$
Whether or not XSLT templates should not be cached '6iEMg&3
是否XSLT模版应该被缓存 9iIhte.