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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 i7x&[b  
!)s(Lv%]  
struts.action.extension (i "TF2U,<  
      The URL extension to use to determine if the request is meant for a Struts action fSo8O  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 19 5_1?'<  
0'^M}&zCi  
struts.configuration Y}~sTuWU  
      The org.apache.struts2.config.Configuration implementation class  3Y#Q'r?  
        org.apache.struts2.config.Configuration接口名 `3TR`,=  
7B?Y.B  
struts.configuration.files 7)?C+=,0  
      A list of configuration files automatically loaded by Struts H2X_W Swm  
      struts自动加载的一个配置文件列表 @0+\:F  
kmQ:wf:  
struts.configuration.xml.reload LdUz;sb  
      Whether to reload the XML configuration or not G%F#I  
      是否加载xml配置(true,false) ZO+RE7f*?c  
SN6 QX!3  
struts.continuations.package Ly= .  
      The package containing actions that use Rife continuations pPReo)  
      含有actions的完整连续的package名称 ~q>jXi  
vYgJu-Sl  
struts.custom.i18n.resources U[ ]yN.J  
      Location of additional localization properties files to load &RR;'wLoQT  
      加载附加的国际化属性文件(不包含.properties后缀) WQ|Ufl;  
7@ym:6Y+]  
struts.custom.properties \!ZA#7  
      Location of additional configuration properties files to load fu7x,b0p  
      加载附加的配置文件的位置 7nt(Rtbsu  
O4rjGTRF  
YwVA].p@TI  
struts.devMode Xo PJ?6 3  
      Whether Struts is in development mode or not {`HbpM<=m]  
      是否为struts开发模式 -rDfDdT  
g=:o'W$@  
struts.dispatcher.parametersWorkaround #2=l\y-#  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic qq)5)S  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ZflB<cI  
s_^`t+5  
struts.enable.DynamicMethodInvocation ko%mZ0Y  
      Allows one to disable dynamic method invocation from the URL F|%PiC,,qO  
        允许动态方法调用 5Tn<  
'5}hm1,  
struts.freemarker.manager.classname ;~3;CijJ8  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \VPw3  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 "8QRYV~Z  
=!Ik5LiD  
struts.i18n.encoding z~{08M7  
      The encoding to use for localization messages _L,~WYRo  
      国际化信息内码 I:dUHN+@L5  
&A:&2sP8  
struts.i18n.reload f6r!3y  
      Whether the localization messages should automatically be reloaded a1,)1y~  
      是否国际化信息自动加载 "6,fIsU  
\8(Je"S  
struts.locale 1^_W[+<S/  
      The default locale for the Struts application >~g-  
      默认的国际化地区信息 F:zmO5L5  
?e%*q^~Cu  
struts.mapper.class O%t? -h  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class = MByD&o`  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 _'p/8K5)=  
FQek+[ox  
struts.multipart.maxSize uc9h}QJ*  
      The maximize size of a multipart request (file upload) "8Dm7)nB  
      multipart请求信息的最大尺寸(文件上传用) lz^Vi!|p  
m%9Yo%l~  
struts.multipart.parser p39$V[*g(  
      The org.apache.struts2.dispatcher.multipart. '`8 ^P  
      MultiPartRequest parser implementation for a multipart request (file upload) o0Teect=  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gj|5"'g%  
B4 bB`r  
u<j;+-]8h  
struts.multipart.saveDir w,hm_aDq  
      The directory to use for storing uploaded files GwO`@-}E  
      设置存储上传文件的目录夹 .1(_7!m@  
`yR/M"u6T  
struts.objectFactory bAlty}U  
      The com.opensymphony.xwork2.ObjectFactory implementation class HOi~eX1d  
      com.opensymphony.xwork2.ObjectFactory接口(spring) k;qS1[a  
CG uuadNI  
struts.objectFactory.spring.autoWire ll__A|JQ  
      Whether Spring should autoWire or not B9l~Y/3|  
      是否自动绑定Spring m{oe|UVcmr  
CUDA<Fm  
struts.objectFactory.spring.useClassCache q:_:E*o  
      Whether Spring should use its class cache or not Aa-5k3:x]=  
      是否spring应该使用自身的cache we}xGb.u  
v:lkvMq|=  
struts.objectTypeDeterminer ",apO  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0}GO$%l  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 7<LuL  
YM#' +wl}`  
struts.serve.static.browserCache Av.`'.b  
If static content served by the Struts filter should set browser caching header properties or not 1PVZGZxAgv  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 'qVlq5.  
ts=D  
struts.serve.static } :?*n:g5  
      Whether the Struts filter should serve static content or not IlF_g`  
      是否struts过滤器应该提供静态内容 X$<pt,}%  
U_jW5mgsG  
struts.tag.altSyntax PU%Zay  
      Whether to use the alterative syntax for the tags or not R(t%/Hvs$  
      是否可以用替代的语法替代tags vdXi'<  
=pzTB-G  
struts.ui.templateDir 42e[OG-  
      The directory containing UI templates lP=,|xFra  
      UI templates的目录夹 J"#6m&R_q  
)P? 0YC  
struts.ui.theme rHk(@T.]  
      The default UI template theme ~LI}   
      默认的UI template主题 e!=7VEB  
L@RnLaoQ  
struts.url.http.port &%v*%{|j  
      The HTTP port used by Struts URLs -qpvVLR,  
      设置http端口 HM(X8iNt  
hxdjmc-  
struts.url.https.port Ri"rT] '  
      The HTTPS port used by Struts URLs ^WU[+H ;  
      设置https端口 R;,5LS&*a  
5X8 i=M;  
struts.url.includeParams ?taC !{  
      The default includeParams method to generate Struts URLs uv5NqL&  
      在url中产生 默认的includeParams /@Jg [na  
^G qO>1U  
xqdkc^b  
struts.velocity.configfile krGIE}5  
      The Velocity configuration file path `?T::&`  
      velocity配置文件路径 YS4"TOFw  
Qraq{'3  
struts.velocity.contexts yl*%P3m|  
      List of Velocity context names aQH]hLvs  
      velocity的context列表 zM8 jjB  
k %{q q v  
37n2#E  
struts.velocity.manager.classname .WeSU0XG  
      org.apache.struts2.views.velocity.VelocityManager implementation class %-YWn`yEm  
      org.apache.struts2.views.velocity.VelocityManager接口名 m5/]+xdNX  
3]iw3M  
struts.velocity.toolboxlocation f7zB_hVDmE  
      The location of the Velocity toolbox o^5UHFxTCB  
      velocity工具盒的位置 g[y&GCKY!=  
struts.xslt.nocache Ce//; Op  
      Whether or not XSLT templates should not be cached Nnn~7  
      是否XSLT模版应该被缓存 ,nog6\  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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