社区应用 最新帖子 精华区 社区服务 会员列表 统计排行 社区论坛任务 迷你宠物
  • 5018阅读
  • 0回复

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 $ dF3@(p  
P#7=h:.522  
struts.action.extension lPI~5N8  
      The URL extension to use to determine if the request is meant for a Struts action #=={h?UDT  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 P:t .Nr"  
.p,VZ9  
struts.configuration 4e Y?#8  
      The org.apache.struts2.config.Configuration implementation class X fqhD&g  
        org.apache.struts2.config.Configuration接口名 ?:ZB'G{%E  
naW!b&:  
struts.configuration.files 50j8+xJPV  
      A list of configuration files automatically loaded by Struts 3TH?7wi  
      struts自动加载的一个配置文件列表 KVJ, a  
hd u2?v@  
struts.configuration.xml.reload kJp~'\b  
      Whether to reload the XML configuration or not -X~mW  
      是否加载xml配置(true,false) s0^(yEcq  
"GZi eI D  
struts.continuations.package a9z#l}IQ  
      The package containing actions that use Rife continuations _BmObXOp.  
      含有actions的完整连续的package名称 IF|6iKCE  
;,C]WZ.w  
struts.custom.i18n.resources 0n}13u=}  
      Location of additional localization properties files to load J6AHc"k.  
      加载附加的国际化属性文件(不包含.properties后缀) b1.*cIv}  
wDZ<UP=X  
struts.custom.properties sa(.Anmlj  
      Location of additional configuration properties files to load ^k;]"NR  
      加载附加的配置文件的位置 .mt%8GM  
BzP,Tu{,  
~0a5  
struts.devMode *[3xc*5F/A  
      Whether Struts is in development mode or not )rD!4"8/A  
      是否为struts开发模式 X,7y|tb  
"y,YC M`  
struts.dispatcher.parametersWorkaround rP3HR 5  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $/++afi m  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) X#lNS+&='  
$(aq;DR  
struts.enable.DynamicMethodInvocation c+9L6}D  
      Allows one to disable dynamic method invocation from the URL "6$V1B0KW  
        允许动态方法调用 t'rN7.d  
'4[=*!hs!  
struts.freemarker.manager.classname  uZS:  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class L>1hiD&  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _h~ksNm5u  
,50  
struts.i18n.encoding QPJ \Iu@D$  
      The encoding to use for localization messages CubQ6@,  
      国际化信息内码 `6D?te  
4wl1hp>,  
struts.i18n.reload HTJ2D@h  
      Whether the localization messages should automatically be reloaded L*(9Hti  
      是否国际化信息自动加载 lLx!_h  
}}AIpYp,P  
struts.locale g* q#VmE  
      The default locale for the Struts application \G" S7  
      默认的国际化地区信息 a1U|eLmUb  
/4:bx#;A  
struts.mapper.class VY0.]t  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class tIsWPt]Y  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 OXEk{#Uf[3  
'cW^S7  
struts.multipart.maxSize -@W9+Zf5  
      The maximize size of a multipart request (file upload) PsY![CPrW  
      multipart请求信息的最大尺寸(文件上传用) `g)}jo`W  
8Bf >  
struts.multipart.parser ?[D3 -4  
      The org.apache.struts2.dispatcher.multipart. Gm=qn]c  
      MultiPartRequest parser implementation for a multipart request (file upload) RLmOg{L  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) M";qo6  
q2qi~}l  
jEc_!Q  
struts.multipart.saveDir {%V(Dd[B6  
      The directory to use for storing uploaded files Yh":>~k?SY  
      设置存储上传文件的目录夹 gq+SM  i=  
1Ms[$$b$  
struts.objectFactory #@XBHJD\#  
      The com.opensymphony.xwork2.ObjectFactory implementation class l& :EKh  
      com.opensymphony.xwork2.ObjectFactory接口(spring) +#}GmUwPG$  
88g3<&  
struts.objectFactory.spring.autoWire /F*Y~>*% 1  
      Whether Spring should autoWire or not /x<g$!`X  
      是否自动绑定Spring [BWq9uE  
)`u17 {  
struts.objectFactory.spring.useClassCache 615Ya<3f8  
      Whether Spring should use its class cache or not z+"tAVB[i  
      是否spring应该使用自身的cache A~zn;  
Y0LZbT3  
struts.objectTypeDeterminer !FEc:qH  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \Z-th,t  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 zp:dArh0  
'\:4Ijp<"  
struts.serve.static.browserCache E)"19l|}B  
If static content served by the Struts filter should set browser caching header properties or not B}e/MlX3M  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 e~r/!B5X  
TO wd+]B  
struts.serve.static aukcO ;oG<  
      Whether the Struts filter should serve static content or not c4JV~VS+  
      是否struts过滤器应该提供静态内容  5NU{y+  
@HT\Y%E  
struts.tag.altSyntax AIF ?>wgq  
      Whether to use the alterative syntax for the tags or not ~#_~DqbMZ5  
      是否可以用替代的语法替代tags b--=GY))F  
18&"j 8'm  
struts.ui.templateDir z.vQ1~s  
      The directory containing UI templates _`$Q6!Z)l  
      UI templates的目录夹 B8&q$QV  
mdi!Q1pS  
struts.ui.theme mF4W4~"  
      The default UI template theme f56yI]*N=<  
      默认的UI template主题 rRTKF0+  
TxrW69FV7  
struts.url.http.port |9* Rnm_  
      The HTTP port used by Struts URLs -y`Pm8  
      设置http端口 L.n@;*  
Z@~gN5@,M  
struts.url.https.port >xWS>  
      The HTTPS port used by Struts URLs &l(T},-X  
      设置https端口 sh/ ,"b2!P  
AHf 9H?  
struts.url.includeParams `<XS5h h=  
      The default includeParams method to generate Struts URLs ($di]lbsT  
      在url中产生 默认的includeParams Ly= .  
rH}|~  
I?T !  
struts.velocity.configfile &RR;'wLoQT  
      The Velocity configuration file path >6es 5}  
      velocity配置文件路径 >a;a8EA<O  
}7PJr/IuF  
struts.velocity.contexts gtKih  
      List of Velocity context names "x$@^  
      velocity的context列表 YwVA].p@TI  
g#S X$k-O  
n:AZ(f   
struts.velocity.manager.classname j.M]F/j  
      org.apache.struts2.views.velocity.VelocityManager implementation class oodA&0{)d  
      org.apache.struts2.views.velocity.VelocityManager接口名 yg\QtWW M  
)nd^@G^  
struts.velocity.toolboxlocation lMv6QL\>'  
      The location of the Velocity toolbox L*0YOE%=]  
      velocity工具盒的位置 %1&X+s3  
struts.xslt.nocache (Mc{nFqS  
      Whether or not XSLT templates should not be cached v.ZUYa|  
      是否XSLT模版应该被缓存 GMU!GSY  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八