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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ${I$@qq83  
xuBXOr4"P  
struts.action.extension 5@l[!Jl0k  
      The URL extension to use to determine if the request is meant for a Struts action y.,S}7l:  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /){F0Zjjt  
|^!#x Tj  
struts.configuration XfY~q~f8  
      The org.apache.struts2.config.Configuration implementation class EC9D.afy&  
        org.apache.struts2.config.Configuration接口名 u\LG_/UJV1  
:sO^b*e /  
struts.configuration.files ;VM',40  
      A list of configuration files automatically loaded by Struts VG FWF3s  
      struts自动加载的一个配置文件列表 8/q6vk><  
YdsY2  
struts.configuration.xml.reload j{}-zQ]n  
      Whether to reload the XML configuration or not A8Z2o\+  
      是否加载xml配置(true,false) 4cZig\mE;  
w1Ar[ P  
struts.continuations.package },1**_#<Br  
      The package containing actions that use Rife continuations vn oI.;H,  
      含有actions的完整连续的package名称 dLA'cQId  
hv" 'DP  
struts.custom.i18n.resources [f`^+,U  
      Location of additional localization properties files to load @ qFE6!  
      加载附加的国际化属性文件(不包含.properties后缀) 'zYKG5A  
"V/|RC  
struts.custom.properties w\(LG_n|  
      Location of additional configuration properties files to load V[E7 mhqy  
      加载附加的配置文件的位置 6 0C;J!D  
n =SY66  
jC_7cAsl  
struts.devMode bOIVe  
      Whether Struts is in development mode or not %Xm3m0nsv{  
      是否为struts开发模式 VrG4wLpLs  
8R !3}kx  
struts.dispatcher.parametersWorkaround !r=^aa(\  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic /WIO@c  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Z)iRc$;  
r]!<iw  
struts.enable.DynamicMethodInvocation 7\.Ax  
      Allows one to disable dynamic method invocation from the URL [h"#Gwb=;  
        允许动态方法调用 >Hh8K<@NL  
E>_?9~8Mf  
struts.freemarker.manager.classname mX@Un9k  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *7`N^e  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 O_ }ZSB8"  
e[`E-br^  
struts.i18n.encoding &uLxA w  
      The encoding to use for localization messages iC U [X&  
      国际化信息内码 C):RE<X  
B_f0-nKP  
struts.i18n.reload m>po+7"b  
      Whether the localization messages should automatically be reloaded 9ICC2%j|  
      是否国际化信息自动加载 fX.V+.rj  
]>utLi5dX  
struts.locale s3G\L<~mB  
      The default locale for the Struts application = mn jIp  
      默认的国际化地区信息 m~K[+P  
K?l1Gj  
struts.mapper.class WA);Z=  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class +{%@kX<V_  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Sr7+DCr  
7ko7)"N  
struts.multipart.maxSize >.R6\>N%  
      The maximize size of a multipart request (file upload) S6sSdo'  
      multipart请求信息的最大尺寸(文件上传用) d2H&@80  
' pE %'8R  
struts.multipart.parser )B d`N^k+  
      The org.apache.struts2.dispatcher.multipart. FV[6">;g  
      MultiPartRequest parser implementation for a multipart request (file upload) Dl862$_Q  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) nMU#g])y)  
3t(8uG<rL  
f;/t7=>d  
struts.multipart.saveDir * *?mZtF  
      The directory to use for storing uploaded files (wJtEoB9^  
      设置存储上传文件的目录夹 cz_4cMgxu  
lYd#pNN  
struts.objectFactory V/5hEoDt  
      The com.opensymphony.xwork2.ObjectFactory implementation class h6*=Fn7C  
      com.opensymphony.xwork2.ObjectFactory接口(spring) T[$Sbz`  
Z$R2Z$f  
struts.objectFactory.spring.autoWire {HqwpB\@  
      Whether Spring should autoWire or not h;vD"!gP  
      是否自动绑定Spring ? Azpb}#  
(vIrXF5Dnj  
struts.objectFactory.spring.useClassCache &`rV{%N"  
      Whether Spring should use its class cache or not nsyg>=j  
      是否spring应该使用自身的cache v{rc5 ]\R  
"?j|;p@!>  
struts.objectTypeDeterminer >Kl78w:  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class V07x+ovq  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 <_*8a(j3  
;WIL?[;w  
struts.serve.static.browserCache @4:cn  
If static content served by the Struts filter should set browser caching header properties or not lwH&4K  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Q^Ln`zMe  
QN(f8t(  
struts.serve.static &%pB; dk  
      Whether the Struts filter should serve static content or not #( nheL  
      是否struts过滤器应该提供静态内容 S(A0),  
1{ #Xa=  
struts.tag.altSyntax #SY8Zv  
      Whether to use the alterative syntax for the tags or not PMZdz>>T  
      是否可以用替代的语法替代tags x7e  
D} 0>x~  
struts.ui.templateDir :C42yQAP  
      The directory containing UI templates &QOob)  
      UI templates的目录夹 PiB)pUYj  
}\u~He%  
struts.ui.theme TJY$<:  
      The default UI template theme 98C~%+  
      默认的UI template主题 [Hdk=p  
K. G#[  
struts.url.http.port Y=G *[G#  
      The HTTP port used by Struts URLs }wR)p  
      设置http端口 ZLvw]N&R  
#f|-l$a)3a  
struts.url.https.port 1elx~5v1.=  
      The HTTPS port used by Struts URLs y_"GMw  
      设置https端口 )EO/P+&  
9\)NFZ3Mz  
struts.url.includeParams (Cp:NS  
      The default includeParams method to generate Struts URLs M O5fu!  
      在url中产生 默认的includeParams K! /E0G&  
./<3jf :  
F dv&kK!  
struts.velocity.configfile nGW wXySq  
      The Velocity configuration file path kSNVI-Wzu  
      velocity配置文件路径 se_zCS4Y  
{(wV>Oc>Jw  
struts.velocity.contexts $!I$*R&  
      List of Velocity context names iy tSC  
      velocity的context列表 :&)RK~1m_  
B^Ql[m&5+  
K=sQ_j.&Z  
struts.velocity.manager.classname 9r1pdG_C@  
      org.apache.struts2.views.velocity.VelocityManager implementation class mC~W/KReA  
      org.apache.struts2.views.velocity.VelocityManager接口名 c%~'[W04\  
`@.YyPxX\  
struts.velocity.toolboxlocation svpWABO  
      The location of the Velocity toolbox ! # tRl  
      velocity工具盒的位置 Lu:!vTRmw  
struts.xslt.nocache q\#3G  
      Whether or not XSLT templates should not be cached @7lZ{jV$  
      是否XSLT模版应该被缓存 54F([w  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五